cityindex-attic / logsearch

[unmaintained] A development environment for ELK
Apache License 2.0
24 stars 8 forks source link

Elasticsearch search preference #346

Closed dpb587 closed 9 years ago

dpb587 commented 10 years ago

I just learned of the preference argument which can be passed to search queries.

If we specified a custom string on all queries, I think it would force the nodes to specialize on particular data instead of trying to maintain the exact same shard search metadata in memory. Given our heavy data locality on the current date, I'm not sure it'd actually make much of a difference for most queries.

The other ones which looked intriguing were _shards and _prefer_node, but I haven't formulated a particular idea on that yet. It'd be cool if it supported targeting by node attributes.

Going to think about this further...

sopel commented 9 years ago

Closed as Won't Fix due to project being retired to the CityIndex Attic.