Re: QParserPlugin question

2014-10-24 Thread Peter Keegan
Thanks for the advice. I've moved this query rewriting logic (not really business logic) to a SearchComponent and will leave the custom query parser to deal with the keyword (q=) related aspects of the query. In my case, the latter is mostly dealing with the presence of wildcard characters. Peter

Re: QParserPlugin question

2014-10-22 Thread Chris Hostetter
: It's for an optimization. If the keyword is 'match all docs', I want to : remove a custom PostFilter from the query and change the sort parameters : (so the app doesn't have to do it). It looks like the responseHeader is : displaying the 'originalParams', which are immutable. that is in fact t

Re: QParserPlugin question

2014-10-22 Thread Peter Keegan
se &omitHeader=true on >> the >> URL to remove header if you want. >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/QParserPlugin-question-tp4165368p4165373.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > >

Re: QParserPlugin question

2014-10-22 Thread Peter Keegan
le. On Wed, Oct 22, 2014 at 2:10 PM, Ramzi Alqrainy wrote: > I don't know why you need to change it ? you can use &omitHeader=true on > the > URL to remove header if you want. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/

Re: QParserPlugin question

2014-10-22 Thread Ramzi Alqrainy
I don't know why you need to change it ? you can use &omitHeader=true on the URL to remove header if you want. -- View this message in context: http://lucene.472066.n3.nabble.com/QParserPlugin-question-tp4165368p4165373.html Sent from the Solr - User mailing list archive at Nabble.com.

QParserPlugin question

2014-10-22 Thread Peter Keegan
I have a custom query parser that modifies the filter query list based on the keyword query. This works, but the 'fq' list in the responseHeader contains the original filter list. The debugQuery output does display the modified filter list. Is there a way to change the responseHeader? I could proba