Re: question about syntax for multiple terms in filter query

2013-03-12 Thread Jack Krupansky
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

Re: question about syntax for multiple terms in filter query

2013-03-12 Thread geeky2
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

Re: question about syntax for multiple terms in filter query

2013-03-12 Thread Jack Krupansky
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

Re: question about syntax for multiple terms in filter query

2013-03-12 Thread geeky2
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

Re: question about syntax for multiple terms in filter query

2013-03-12 Thread Jack Krupansky
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

Re: question about syntax for multiple terms in filter query

2013-03-11 Thread geeky2
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 ...

Re: question about syntax for multiple terms in filter query

2013-03-11 Thread Jack Krupansky
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

Re: question about syntax for multiple terms in filter query

2013-03-11 Thread Otis Gospodnetic
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