Re: Query Filter fq with OR operator
I will like to submit a JIRA issue for this. Can anyone help me on where to go? -Yao Otis Gospodnetic wrote: Brian, Opening a JIRA issue if it doesn't already exist is the best way. If you can provide a patch, even better! Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: brian519 bpear...@desire2learn.com To: solr-user@lucene.apache.org Sent: Tuesday, June 16, 2009 1:32:41 PM Subject: Re: Query Filter fq with OR operator This feature is very important to me .. should I post something on the dev forum? Not sure what the proper protocol is for adding a feature to the roadmap Thanks, Brian. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24059181.html Sent from the Solr - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24222170.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query Filter fq with OR operator
Hello Yao, A contribution would be great. Here is information about how to contribute: http://wiki.apache.org/solr/HowToContribute Thanks, Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Yao Ge yao...@gmail.com To: solr-user@lucene.apache.org Sent: Friday, June 26, 2009 11:20:25 AM Subject: Re: Query Filter fq with OR operator I will like to submit a JIRA issue for this. Can anyone help me on where to go? -Yao Otis Gospodnetic wrote: Brian, Opening a JIRA issue if it doesn't already exist is the best way. If you can provide a patch, even better! Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: brian519 To: solr-user@lucene.apache.org Sent: Tuesday, June 16, 2009 1:32:41 PM Subject: Re: Query Filter fq with OR operator This feature is very important to me .. should I post something on the dev forum? Not sure what the proper protocol is for adding a feature to the roadmap Thanks, Brian. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24059181.html Sent from the Solr - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24222170.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query Filter fq with OR operator
On Fri, Jun 26, 2009 at 8:50 PM, Yao Ge yao...@gmail.com wrote: I will like to submit a JIRA issue for this. Can anyone help me on where to go? An issue has been opened already. You may want to add a vote to the following issue. https://issues.apache.org/jira/browse/SOLR-1223 -- Regards, Shalin Shekhar Mangar.
Re: Query Filter fq with OR operator
This feature is very important to me .. should I post something on the dev forum? Not sure what the proper protocol is for adding a feature to the roadmap Thanks, Brian. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24059181.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query Filter fq with OR operator
Brian, Opening a JIRA issue if it doesn't already exist is the best way. If you can provide a patch, even better! Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: brian519 bpear...@desire2learn.com To: solr-user@lucene.apache.org Sent: Tuesday, June 16, 2009 1:32:41 PM Subject: Re: Query Filter fq with OR operator This feature is very important to me .. should I post something on the dev forum? Not sure what the proper protocol is for adding a feature to the roadmap Thanks, Brian. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24059181.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query Filter fq with OR operator
Otis Gospodnetic wrote: Brian, Opening a JIRA issue if it doesn't already exist is the best way. If you can provide a patch, even better! Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch Thanks Otis! I've created a JIRA https://issues.apache.org/jira/browse/SOLR-1223 issue here - Original Message From: brian519 bpear...@desire2learn.com To: solr-user@lucene.apache.org Sent: Tuesday, June 16, 2009 1:32:41 PM Subject: Re: Query Filter fq with OR operator This feature is very important to me .. should I post something on the dev forum? Not sure what the proper protocol is for adding a feature to the roadmap Thanks, Brian. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24059181.html Sent from the Solr - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p24060300.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query Filter fq with OR operator
Adding my vote for this feature. Another possible way to do this would be to introduce the ofq parameter .. so all of the fq's and AND'ed and the ofq's would be OR'd I've got some really complicated fq's that aren't going to cache well, introducing OR'd filters would allow me to use simpler filters and I expect performance would be a lot better Thanks -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p23986336.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query Filter fq with OR operator
On Fri, Jun 5, 2009 at 5:33 PM, Yao Ge yao...@gmail.com wrote: If I want use OR operator with mutile query filters, I can do: fq=popularity:[10 TO *] OR section:0 Is there a more effecient alternative to this? There is not currently a more efficient way to do this. But esp with multi-select support now in Solr, it starts making more sense to figure out a way to support OR filters. Possible future solutions... (stuff that belongs on solr-dev) one could perhaps that the parts of a boolean query be cached separately: fq={!cache=sep}fq=popularity:[10 TO *] OR section:0 Or, we could even support specifying the OR clauses separately, correlating them with a tag: fq={!grp=a}fq=popularity:[10 TO *] fq={!grp=a}section:0 If we want the latter, we need to keep in mind how it would interact with excluding certain filters during faceting... i.e. one part could be excluded and the other part not. Seems doable though. The other part of the puzzle is how to pass this info around (for example, search routines take a ListQuery for filters). Perhaps the easiest way is to create a SolrQuery class that wraps a query and gives extra processing instructions such as caching the clauses separately. -Yonik http://www.lucidimagination.com
Query Filter fq with OR operator
If I want use OR operator with mutile query filters, I can do: fq=popularity:[10 TO *] OR section:0 Is there a more effecient alternative to this? -- View this message in context: http://www.nabble.com/Query-Filter-fq-with-OR-operator-tp23895837p23895837.html Sent from the Solr - User mailing list archive at Nabble.com.