Filter query.
-- Jack Krupansky
-Original Message-
From: geeky2
Sent: Tuesday, March 12, 2013 2:28 PM
To: solr-user@lucene.apache.org
Subject: Re: question about syntax for multiple terms in filter query
jack,
did you mean "function query" or filter query
i was going
jack,
did you mean "function query" or filter query
i was going to do this in my request handler for parts
+itemType:1 +sellingPrice:[1 TO *]
--
View this message in context:
http://lucene.472066.n3.nabble.com/question-about-syntax-for-multiple-terms-in-filter-query-tp4046442p4046715
So they definitely should be specified in a single function query.
-- Jack Krupansky
-Original Message-
From: geeky2
Sent: Tuesday, March 12, 2013 1:30 PM
To: solr-user@lucene.apache.org
Subject: Re: question about syntax for multiple terms in filter query
hello jack,
yes - i will
hello jack,
yes - i will always be using the two constraints at the same time.
thank you again for the info.
thx
mark
--
View this message in context:
http://lucene.472066.n3.nabble.com/question-about-syntax-for-multiple-terms-in-filter-query-tp4046442p4046650.html
Sent from the Solr - User
apply,
make them separate filter queries.
-- Jack Krupansky
-Original Message-
From: geeky2
Sent: Tuesday, March 12, 2013 12:48 AM
To: solr-user@lucene.apache.org
Subject: Re: question about syntax for multiple terms in filter query
otis and jack -
thank you VERY much for the feedback
otis and jack -
thank you VERY much for the feedback -
jack -
>>
use a single fq containing two mandatory
clauses if those clauses appear together often
<<
this is the use case i have to account for - eg,
right now i have this in my request handler
...
itemType:1
...
Point number 3 from that wiki says it all:
3.The document sets from each filter query are cached independently. Thus,
concerning the previous examples: use a single fq containing two mandatory
clauses if those clauses appear together often, and use two separate fq
params if they are relatively
Hello Mark,
I think fq=+term1:foo +term2:bar doesn't actually result in 2 filters being
created/used, while &fq=term1:foo&fq=term2:bar does
Otis
--
Solr & ElasticSearch Support
http://sematext.com/
On Mon, Mar 11, 2013 at 4:41 PM, geeky2 wrote:
> hello everyone,
>
> i have a question on t