-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite of query system #242
base: master
Are you sure you want to change the base?
Conversation
We are facing one major issue now that we started indexing in a way that supports faceted-search. In the entities index, the content column must change from One solution is to add a new column to index data using the new data mapping type. This also requires users to rerun the indexing process but it won't stop the currently functional search. A big drawback to this is the size of the index. By indexing the same information twice, we would double the size of the index. |
The simple query string needs to be changed to use an array of bool queries. The reason is that dealing with escaping is hard with faceted search. What we want to eventually get is similar to the following: {
"bool": {
"must": [
{
"simple_query_string": {
"fields": ["content.rdfs__type", "content.obi__organism"],
"query": "term"
}
}
]
}
} |
This PR will address issues #241 and #238