Re: matching with whole field

2012-08-02 Thread elisabeth benoit
Thanks you so much Franck Brisbart. It's working! Best regards, Elisabeth 2012/8/2 fbrisbart > It's a parsing problem. > You must tell the query parser to consider spaces as real characters. > This should work (backslashing the spaces): > fq=ONLY_EXACT_MATCH_FIELD:salon\ de\ coiffure > > or yo

Re: matching with whole field

2012-08-02 Thread fbrisbart
It's a parsing problem. You must tell the query parser to consider spaces as real characters. This should work (backslashing the spaces): fq=ONLY_EXACT_MATCH_FIELD:salon\ de\ coiffure or you may use something like that : fq={!term f=ONLY_EXACT_MATCH_FIELD v=$qq}&qq=salon de coiffure Hope it help

Re: matching with whole field

2012-08-02 Thread elisabeth benoit
Hello Chantal, Thanks for your answer. In fact, my analyzer contains the same tokenizer chain for "query". I just removed it in my email for lisibility (but maybe not good for clarity). And I did check with the admin interface, and it says there is a match. But with a real query to Solr, it doesn

Re: matching with whole field

2012-08-02 Thread Chantal Ackermann
Hi Elisabeth, try adding the same tokenizer chain for "query", as well, or simply remove the type="index" from the analyzer element. Your chain is analyzing the input of the indexer and removing diacritics and lowercasing. With your current setup, the input to the search is not analyzed likewi

matching with whole field

2012-08-02 Thread elisabeth benoit
Hello, I am using Solr 3.4. I'm trying to define a type that it is possible to match with only if request contains exactly the same words. Let's say I have two different values for ONLY_EXACT_MATCH_FIELD ONLY_EXACT_MATCH_FIELD: salon de coiffure ONLY_EXACT_MATCH_FIELD: salon de coiffure pour fe