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
I meant to say: If the keyword is *:* (MachAllDocsQuery)... On Wed, Oct 22, 2014 at 2:17 PM, Peter Keegan wrote: > 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 i

Re: QParserPlugin question

2014-10-22 Thread Peter Keegan
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. On Wed, Oct 22, 2014 at 2:

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.

Re: QParserPlugin

2009-01-27 Thread Karl Wettin
So it was me defining it in schema.xml rather than solrconfig.xml. 17:17 < erikhatcher> where are you defining the qparser plugin? 17:18 < erikhatcher> it's very odd... if it isn't picking them up but you reference them, it would certainly give an error 17:18 < karlwettin> as a first level chil

Re: QParserPlugin

2009-01-26 Thread Erik Hatcher
Karl - where did you put your a.b.QParserPlugin? You should put it in /lib within a JAR file. I'm surprised you aren't seeing an error though. Erik On Jan 27, 2009, at 1:07 AM, Karl Wettin wrote: Hi forum, I'm trying to get QParserPlugin to work, I've got but still get Unknow