Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
815c0721
Commit
815c0721
authored
Oct 01, 2018
by
Iker Hurtado
Browse files
Convenience commit
parent
8a16f595
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
815c0721
...
...
@@ -9117,14 +9117,48 @@
}
}
} `;
postQuery= `
{
"bool" : {
"should" : {"match":{"formula_keyword":"H4O2"}}
}
} `;
postQuery= `
{
"bool" : {
"must" :[
{"match":{"atom_labels":"Fe"}},
{"match":{"atom_labels":"O"}}
]
}
} `;
postQuery= `
{
"bool" : {
"must" :[
{"match":{"formula_reduced":"Fe3"}},
{"match":{"formula_reduced":"O1"}}
]
}
} `;
*/
postQuery
=
`
{
"bool" : {
"should" : [
{"match":{"formula":"H4O2"}},
{"match":{"atom_labels":"Sc"}}
"must" :[
{"match":{"formula_reduced":"Al1"}},
{"match":{"formula_reduced":"O3"}},
{"match":{"atom_labels":"Cu"}}
]
}
} `
;
...
...
client/src/search-mod/MaterialList.view.js
View file @
815c0721
...
...
@@ -138,14 +138,48 @@ class MaterialList {
}
}
} `;
postQuery= `
{
"bool" : {
"should" : {"match":{"formula_keyword":"H4O2"}}
}
} `;
postQuery= `
{
"bool" : {
"must" :[
{"match":{"atom_labels":"Fe"}},
{"match":{"atom_labels":"O"}}
]
}
} `;
postQuery= `
{
"bool" : {
"must" :[
{"match":{"formula_reduced":"Fe3"}},
{"match":{"formula_reduced":"O1"}}
]
}
} `;
*/
postQuery
=
`
{
"bool" : {
"should" : [
{"match":{"formula":"H4O2"}},
{"match":{"atom_labels":"Sc"}}
"must" :[
{"match":{"formula_reduced":"Al1"}},
{"match":{"formula_reduced":"O3"}},
{"match":{"atom_labels":"Cu"}}
]
}
} `
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment