id primary key, another_field string field.
http://localhost:8983/solr/select?q=id:c2c32773-1691-11df-97a5-7038c432aabf http://localhost:8983/solr/select?q=another_field:c2c32773-1691-11df-97a5-7038c432aabf
is first query faster?
query on id not make faster other query unless fields text fields take bit longer depending upon analysis performed.
if want query on id or fixed valued fields better using filter query more faster cause of field caching.
Comments
Post a Comment