lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fiedzia <fied...@gmail.com>
Subject Re: Explain Solr Query Execution
Date Sun, 04 May 2014 18:41:07 GMT
fq stands for filter queries, not field queries. It must be a query that will
limit your result
and it is not responsible for scoring, so field^1.0 is invalid here.

The order of execution is that query q will be run against results of fq.

For example

q=samplestring1 & fq: samplestring2

will first choose onlyy documents containing samplestring2 and then check
which of of them contain  samplestring1.
and then decide how to rank them.

The nearest similar term in sql world would be subquery:

select samplefield1.. from ...
   select id from ...
   where samplestring2
   #no sorting is happening here 
where samplestring1
order by ...



--
View this message in context: http://lucene.472066.n3.nabble.com/Explain-Solr-Query-Execution-tp4134547p4134549.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message