Re: Query or FilterQuery for exact field match

2010-02-23 Thread Chris Hostetter
: I read that, but I'm outside of the typical usage I believe (as I have : no additional parameters so I'm not getting a subset): in my case it : seems the result would be in the queryResultCache anyway if I do a : normal search , or am I missing something? youre not missing anything -- each of t

Re: Query or FilterQuery for exact field match

2010-02-16 Thread gabriele renzi
On Tue, Feb 16, 2010 at 2:04 PM, NarasimhaRaju wrote: > Hi, > > using filterQuery(fq) is more efficient because SolrIndexSearcher will make > use of filterCache > and in your case it returns entire set from the cache instead of searching > from the entire index. > more info about solrCaches at

Re: Query or FilterQuery for exact field match

2010-02-16 Thread NarasimhaRaju
, P.N.Raju, From: gabriele renzi To: solr-user@lucene.apache.org Sent: Tue, February 16, 2010 11:54:24 AM Subject: Query or FilterQuery for exact field match Hi everyone, in our app we sometimes use solr programmatically to retrieve all the elements that have a

Query or FilterQuery for exact field match

2010-02-16 Thread gabriele renzi
Hi everyone, in our app we sometimes use solr programmatically to retrieve all the elements that have a certain value in a single-valued single-token field ( brand:xxx). Since we are not interested in scoring this results, I was thinking that maybe this should be performed as a filterQuery (fq="br