Re: Best way for a query-expander?

2011-02-19 Thread Paul Libbrecht
Hello list, as Hoss suggests, I'll try to be more detailed. I wish to use http parameters in my requests that define the precise semantic of an advanced search. For example, if I can see from sessions, that a given user is requesting, that not only public resources but resources private-to-him

RE: Best way for a query-expander?

2011-02-19 Thread Jonathan Rochkind
. From: Paul Libbrecht [p...@hoplahup.net] Sent: Saturday, February 19, 2011 11:01 AM To: solr-user@lucene.apache.org Subject: Re: Best way for a query-expander? Hello list, as Hoss suggests, I'll try to be more detailed. I wish to use http parameters in my requests

Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
Hello Solr-friends, I want to implement a query-expander, one that enriches the input by the usage of extra parameters that, for example, a form may provide. Is the right way to subclass SearchHandler? Or rather to subclass QueryComponent? thanks in advance paul

Re: Best way for a query-expander?

2011-02-18 Thread Em
SearchHandler? Or rather to subclass QueryComponent? thanks in advance paul -- View this message in context: http://lucene.472066.n3.nabble.com/Best-way-for-a-query-expander-tp2528194p2528736.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
Erm... extra web-request-parameters simply. paul Le 18 févr. 2011 à 19:37, Em a écrit : Hi Paul, what do you understand by saying extra parameters? Regards Paul Libbrecht-4 wrote: Hello Solr-friends, I want to implement a query-expander, one that enriches the input by the

Re: Best way for a query-expander?

2011-02-18 Thread Tommaso Teofili
that, for example, a form may provide. Is the right way to subclass SearchHandler? Or rather to subclass QueryComponent? thanks in advance paul -- View this message in context: http://lucene.472066.n3.nabble.com/Best-way-for-a-query-expander-tp2528194p2528736.html Sent from

Re: Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
the input by the usage of extra parameters that, for example, a form may provide. Is the right way to subclass SearchHandler? Or rather to subclass QueryComponent? thanks in advance paul -- View this message in context: http://lucene.472066.n3.nabble.com/Best-way-for-a-query-expander

Re: Best way for a query-expander?

2011-02-18 Thread Paul Libbrecht
it does work! Le 18 févr. 2011 à 20:48, Paul Libbrecht a écrit : using rb.req.getParams().get(blip) inside prepare(ResponseBuilder)'s subclass of QueryComponent I could easily get the extra http request param. However, how would I change the query? using rb.setQuery(xxx) within that same

Re: Best way for a query-expander?

2011-02-18 Thread Chris Hostetter
: I want to implement a query-expander, one that enriches the input by the : usage of extra parameters that, for example, a form may provide. : : Is the right way to subclass SearchHandler? : Or rather to subclass QueryComponent? This smells like the poster child for an X/Y problem (or maybe