Re: Using a RequestHandler to expand query parameter

2014-09-09 Thread jimtronic
So, the problem I found that's driving this is that I have several phrase synonyms set up. For example, "ipod mini" into "ipad mini". This synonym is only applied if you submit it as a phrase in quotes. So, the pf param doesn't help because it's not the right phrase in the first place. I can fix

Re: Using a RequestHandler to expand query parameter

2014-09-09 Thread Shawn Heisey
On 8/28/2014 7:43 AM, jimtronic wrote: > I would like to send only one query to my custom request handler and have the > request handler expand that query into a more complicated query. > > Example: > > */myHandler?q=kids+books* > > ... would turn into a more complicated EDismax query of: > > *"kid

Re: Using a RequestHandler to expand query parameter

2014-09-09 Thread jmlucjav
this is easily doable by a custom (java code) request handler. If you want to avoid writing any java code, you should investigate using https://issues.apache.org/jira/browse/SOLR-5005 (I am myself going to have a look at this interesting feature) On Tue, Sep 9, 2014 at 4:33 PM, jimtronic wrote:

Re: Using a RequestHandler to expand query parameter

2014-09-09 Thread jimtronic
Never got a response on this ... Just looking for the best way to handle it? -- View this message in context: http://lucene.472066.n3.nabble.com/Using-a-RequestHandler-to-expand-query-parameter-tp4155596p4157613.html Sent from the Solr - User mailing list archive at Nabble.com.