Re: Edismax, Filter Query and Highlighting

2012-02-01 Thread Vadim Kisselmann
hl.q works:) But i have to attach the hl.q to my standard query. In bigger queries it would by a pain to find out, which terms i need in my hl.q. My plan: Own query parser in solr, which loops through q, identifies filter terms(in my case language:de) and append it as hl.q to the standard query.

Edismax, Filter Query and Highlighting

2012-01-31 Thread Vadim Kisselmann
Hi, i have problems with edismax, filter queries and highlighting. First of all: can edismax deal with filter queries? My case: Edismax is my default requestHandler. My query in SolrAdminGUI: (roomba OR irobot) AND language:de You can see, that my q is roomba OR irobot and my fq is

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Ahmet Arslan
in calalina.out i can see the following query: path=/select/ params={hl=trueversion=2.2indent=onrows=10start=0q=(roomba+OR+irobot)+AND+language:de} hits=1 status=0 QTime=65 language:de is a filter, and shouldn't be highlighted. Do i have a thinking error, or is my query wrong? Or is it an

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Vadim Kisselmann
Hi Ahmet, thanks for quick response :) I've also discovered this failure. I wonder that the query themselves works. For example: query = language:de I get results which only have language:de. Also works the fq and i get only the de-result in my field language. I can't understand the behavior. It

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Erick Erickson
Seeing the results with debugQuery=on would help. No, fq does NOT get translated into q params, it's a completely separate mechanism so I'm not quite sure what you're seeing. Best Erick On Tue, Jan 31, 2012 at 8:40 AM, Vadim Kisselmann v.kisselm...@googlemail.com wrote: Hi Ahmet, thanks for

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Vadim Kisselmann
Hi Erick, thanks for your response:) Here its my query: (roomba OR irobot) AND language:de AND url:http://www.blog-gedanken.de/produkte/erste-erfahrung-mit-unserem-roomba-roboter-staubsauger/; Url and language are fields in my schema.xml With hl=truehl.fl=text,url i see this, but i want only see

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Erick Erickson
I didn't read your first post carefully enough, I was keying on the words filter query. Your query does not have any filter queries! I thought you were talking about fq=language:de type clauses, which is what I was responding to. Solr/Lucene have no way of interpreting an extended q clause and

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Vadim Kisselmann
Hi Erick, I didn't read your first post carefully enough, I was keying on the words filter query. Your query does not have any filter queries! I thought you were talking about fq=language:de type clauses, which is what I was responding to. no problem, i understand:) Solr/Lucene have no

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Ahmet Arslan
Try the fq option maybe? I thought so, unfortunately. fq will be the only option. I should rebuild my application :) Could hl.q help? http://wiki.apache.org/solr/HighlightingParameters#hl.q

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Vadim Kisselmann
Hmm, i don´t know, but i can test it tomorrow at work. i´m not sure about the right syntax with hl.q. (?) but i report :) 2012/1/31 Ahmet Arslan iori...@yahoo.com: Try the fq option maybe? I thought so, unfortunately. fq will be the only option. I should rebuild my application :) Could

Re: Edismax, Filter Query and Highlighting

2012-01-31 Thread Koji Sekiguchi
(12/02/01 4:28), Vadim Kisselmann wrote: Hmm, i don´t know, but i can test it tomorrow at work. i´m not sure about the right syntax with hl.q. (?) but i report :) hl.q can accept same syntax of q, including local params. koji -- http://www.rondhuit.com/en/