Re: Query does not work when changing param order

2011-08-18 Thread Juan Manuel Alvarez
Sorry it took me so long to answer, but that issue turned into low priority and I resume it today. Adding a filter query for each tag worked great! Thank you! =o) Juan M. On Thu, Jul 7, 2011 at 7:10 PM, Juan Grande wrote: > Hi Juan! > > I think your problem is that in the second case the FieldQ

Re: Query does not work when changing param order

2011-07-07 Thread Juan Grande
Hi Juan! I think your problem is that in the second case the FieldQParserPlugin is building a phrase query for "mytag myothertag". I recommend you to split the filter in two different filters, one for each tag. If each tag is used in many different filters, and the combination of tags is rarely re

Query does not work when changing param order

2011-07-07 Thread Juan Manuel Alvarez
Hi everyone! I would like to ask you a question about a problem I am facing with a Solr query. I have a field "tags" of type "textgen" and some documents with the values "myothertag,mytag". When I use the query: /solr/select?sort=name_sort+asc&start=0&qf=tags&q.alt=*:*&fq={!field q.op=AND f=tags