-
Notifications
You must be signed in to change notification settings - Fork 25.2k
moreLikeThis search query and count return different results #97
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
Comments
Hey, Can you check now, I pushed a fix that should resolve this. Count queries were being cached wrongly for this type of query (actually, the only type of query since mlt is a different beast). Note, mlt relies on document frequencies, and they are (as the case in the terms API) not exact until deletes are expunged (documents in Lucene are not deleted, just marked as deleted until they are merged out). For cases like mlt, this should be good enough (the query will not return a document that does not exists). |
Fixed++ |
Closes #97. (cherry picked from commit 4380b84)
If you want to use [copy_to](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#copy-to) feature, you need to define it on each sub-field you want to copy to another field: ```javascript PUT /test/person/_mapping { "person": { "properties": { "file": { "type": "attachment", "path": "full", "fields": { "file": { "type": "string", "copy_to": "copy" } } }, "copy": { "type": "string" } } } } ``` In this example, the extracted content will be copy as well to `copy` field. Closes elastic#97. (cherry picked from commit f4f6b57) (cherry picked from commit 5878a62)
Java - Correct use of cache update and state
With this commit we set the environment variable `JAVA12_HOME` so Rally can pick it up in order to compile and run with JDK 12. Relates elastic#97
Why does a moreLikeThis query in count return half the results that the same query does in search?
ta
clint
The text was updated successfully, but these errors were encountered: