lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Brown <>
Subject Getting single documents by fq on unique field, performance
Date Fri, 21 Oct 2011 08:08:00 GMT

We do regular searches against documents, with highlighting on.  To 
then view a document in more detail, we re-do the search but using 
fq=id:12345 to return the single document of interest, but still want 
highlighting on, so sending the q param back again.

Is there anything you would recommend doing to increase performance 
(it's not currently a problem, more a curiosity)?  I had the following 
in mind, but wanted to gauge whether they'd actually be worthwhile...

1. Using a different request handler with no boosts, etc.
2. Setting rows=1 since we know there's only 1 doc coming back.



Web Design & Local Online Marketing

View raw message