On 9/14/2019 4:29 PM, Mikhail Khludnev wrote:
Shawn, would you mind to provide some numbers? I'm experimenting with lucene 8.0.0. I have 100 shard index of 100M docs with 2000 docVals only updateable fields. Searching for such field turns to be blazingly fast $ curl 'localhost:39200/books/_search?pretty&size=20' -d '
I have no idea how to read the json you've pasted. Neither that or the URLs look like Solr.
I've just updated this field in this particular doc. Other 245K of 100M docs has 1 in it $ curl -H 'Content-Type:application/json'
<snip>
It's dv field without index $ curl -s 'localhost:39200/books/_mapping/field/subscription_0x1?pretty&include_defaults=true'
What's the cardinality of the field you're searching on? If it's small, then even an inefficient search will be fast. Try on a field with millions or billions of possible values.
Thanks, Shawn