to, writing
your own query parser might be a good idea.
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 t
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
: 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 a
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
gt;
>>> 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 the Solr - User mailing list archive at Nabble.com.
>>
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
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 enric
de.
>
> 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 the Solr - User mailing list archive at Nabble.com.
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