You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Raghavendra Prabhu <rr...@gmail.com> on 2006/02/22 17:03:57 UTC

does nutch suppor wild card

Does the NutchAnalyser support wild card queries ? and * (character)

What are the modificatins needed to support this?

Rgds
Prabhu

Re: does nutch suppor wild card

Posted by Stefan Groschupf <sg...@media-style.com>.
I guess the  lucene query is build from boolean and term / field  
queries and you may need to use:
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/ 
WildcardQuery.html.

Am 22.02.2006 um 17:55 schrieb Raghavendra Prabhu:

> I have modified the query parser to allow * and ?
>
> Now when i type in a query like n?w ,it goes without any  
> modification and
> gets converted into lucene query
>
> But i dont get any search results
>
> I thought lucene must take care of this n*w and n?w query formed .
>
>
> If this does not work then that means the Analyzer does not support  
> it . Am
> i right ? or missing something here.
>
> Rgds
> Prabhu
>
>
>
> On 2/22/06, Stefan Groschupf <sg...@media-style.com> wrote:
>>
>>> Does the NutchAnalyser support wild card queries ? and * (character)
>> I don't think so.
>>> What are the modificatins needed to support this?
>> A set of things like the Nutch- QueryParser, Nutch Query Object,
>> basic Query filter etc.
>>
>>
>>
>>

---------------------------------------------------------------
company:        http://www.media-style.com
forum:        http://www.text-mining.org
blog:            http://www.find23.net



Re: does nutch suppor wild card

Posted by Raghavendra Prabhu <rr...@gmail.com>.
I have modified the query parser to allow * and ?

Now when i type in a query like n?w ,it goes without any modification and
gets converted into lucene query

But i dont get any search results

I thought lucene must take care of this n*w and n?w query formed .


If this does not work then that means the Analyzer does not support it . Am
i right ? or missing something here.

Rgds
Prabhu



On 2/22/06, Stefan Groschupf <sg...@media-style.com> wrote:
>
> > Does the NutchAnalyser support wild card queries ? and * (character)
> I don't think so.
> > What are the modificatins needed to support this?
> A set of things like the Nutch- QueryParser, Nutch Query Object,
> basic Query filter etc.
>
>
>
>

Re: does nutch suppor wild card

Posted by Stefan Groschupf <sg...@media-style.com>.
> Does the NutchAnalyser support wild card queries ? and * (character)
I don't think so.
> What are the modificatins needed to support this?
A set of things like the Nutch- QueryParser, Nutch Query Object,  
basic Query filter etc.