Re: filter query parameter not working as expected
Well, WAY_ANALYZED:de l hotel de ville parses as WAY_ANALYZED:de default:l default:hotel default:de default:ville You probably want something like WAY_ANALYZED:(de l hotel de ville), perhaps with AND between them. Try adding debugQuery=on to your queries and you can sometimes see this kind of thing... Best Erick On Thu, Jul 21, 2011 at 3:23 AM, elisabeth benoit elisaelisael...@gmail.com wrote: Hello, There is something I don't quite get with fq parameter. I have this query select?q=VINCI Parkfq=WAY_ANALYZED:de l hotel de ville AND (TOWN_ANALYZED:paris OR DEPARTEMENT_ANALYZED:paris)rows=200fl=*,score and two answers. One having WAY_ANALYZED = 48 r de l'hôtel de ville, which is ok and the other called Vinci Park but having WAY_ANALYZED = 143 r lecourbe. Is there something I didn't understand about fq parameter? I'm using Solr 3.2. Thanks, Elisabeth Benoit
Re: filter query parameter not working as expected
thanks using parenthesis select?q=VINCI Parkfq=WAY_ANALYZED:(rue de l hotel de ville) AND (TOWN_ANALYZED:paris OR DEPARTEMENT_ANALYZED:paris)rows=200fl=NAME,TOWN,WAY,scoredebugQuery=on works but I would rather not use parenthesis or AND between those words this brings another question: debugQuery=on doesn't give me any information about fq parameter match. only about q parameter match. Is there a way to have debug information about fq parameter match? Best regards, Elisabeth 2011/7/25 Erick Erickson erickerick...@gmail.com Well, WAY_ANALYZED:de l hotel de ville parses as WAY_ANALYZED:de default:l default:hotel default:de default:ville You probably want something like WAY_ANALYZED:(de l hotel de ville), perhaps with AND between them. Try adding debugQuery=on to your queries and you can sometimes see this kind of thing... Best Erick On Thu, Jul 21, 2011 at 3:23 AM, elisabeth benoit elisaelisael...@gmail.com wrote: Hello, There is something I don't quite get with fq parameter. I have this query select?q=VINCI Parkfq=WAY_ANALYZED:de l hotel de ville AND (TOWN_ANALYZED:paris OR DEPARTEMENT_ANALYZED:paris)rows=200fl=*,score and two answers. One having WAY_ANALYZED = 48 r de l'hôtel de ville, which is ok and the other called Vinci Park but having WAY_ANALYZED = 143 r lecourbe. Is there something I didn't understand about fq parameter? I'm using Solr 3.2. Thanks, Elisabeth Benoit
Re: filter query parameter not working as expected
Not that I know of, although it does give you the parsed fq results, which you could then use as query parameters (i.e. the 'q' parameter) for debugging... You have to use parens or fully qualify each term (e.g. WAY_ANALYZED:rue WAY_ANALYZED:de), that's just how the query parsing works... Best Erick On Mon, Jul 25, 2011 at 10:49 AM, elisabeth benoit elisaelisael...@gmail.com wrote: thanks using parenthesis select?q=VINCI Parkfq=WAY_ANALYZED:(rue de l hotel de ville) AND (TOWN_ANALYZED:paris OR DEPARTEMENT_ANALYZED:paris)rows=200fl=NAME,TOWN,WAY,scoredebugQuery=on works but I would rather not use parenthesis or AND between those words this brings another question: debugQuery=on doesn't give me any information about fq parameter match. only about q parameter match. Is there a way to have debug information about fq parameter match? Best regards, Elisabeth 2011/7/25 Erick Erickson erickerick...@gmail.com Well, WAY_ANALYZED:de l hotel de ville parses as WAY_ANALYZED:de default:l default:hotel default:de default:ville You probably want something like WAY_ANALYZED:(de l hotel de ville), perhaps with AND between them. Try adding debugQuery=on to your queries and you can sometimes see this kind of thing... Best Erick On Thu, Jul 21, 2011 at 3:23 AM, elisabeth benoit elisaelisael...@gmail.com wrote: Hello, There is something I don't quite get with fq parameter. I have this query select?q=VINCI Parkfq=WAY_ANALYZED:de l hotel de ville AND (TOWN_ANALYZED:paris OR DEPARTEMENT_ANALYZED:paris)rows=200fl=*,score and two answers. One having WAY_ANALYZED = 48 r de l'hôtel de ville, which is ok and the other called Vinci Park but having WAY_ANALYZED = 143 r lecourbe. Is there something I didn't understand about fq parameter? I'm using Solr 3.2. Thanks, Elisabeth Benoit