Přejít na menu

SolrCloud document routing

Správa článků

Vyhledávání Vyhledávání
31.7.2015 21:29
,
Počet přečtení: 566

Speeding up searching in multi-tenancy documents with document routing.

To enable document routing, use document ID as string in format:

shard_key!document_id

Documents with the same shard key will be stored in the same index segment(s), which will speed up searching when you enable routing in your query:

_route_=1234! # userId is 1234; do not forget to include the exclamation mark

Articles on Lucidworks.com and Solr documentation

Vytvořil 31. července 2015 ve 22:01:26 mira. Upravováno 2x, naposledy 31. července 2015 ve 22:55:02, mira


Diskuze ke článku

Vložení nového komentáře
*
*
*