You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by ci...@bloglines.com on 2006/01/19 17:33:24 UTC
wildcard matches not working?
i can't seem to get wildcard matches ( "test*" ) to work in my index using
the default nutch search application.
is there something i'm missing?
i'm using nutch built from trunk, with a patch applied that lets htdig-noindex
boundaries not be indexed.
Thanks in advance for any help,
-a
Re: wildcard matches not working?
Posted by Raghavendra Prabhu <rr...@gmail.com>.
I dont think still wildcard works
Because of the NutchSimilarity we set
Is wild card prefix working if u
allow it
What i did was added ? and * to list of words in NutchAnalysis
so that it will not be removed from query construction
I checked the lucene query going to the indexes
and no hits were returned
If you can exactly tell me what to do , i can try it
But the lucene query did not pick up wild cards
Can anyone of you check this and let me know?
Rgds
Prabhu
On 1/23/06, Stefan Groschupf <sg...@media-style.com> wrote:
>
> Nutch has a own query parser so you just can recylce some code from
> the generated QueryParser and add this to a plugin.
>
> Am 23.01.2006 um 21:10 schrieb Steve Betts:
>
> > Lucene has a tool call QueryParser that handles all the appropriate
> > wildcard
> > and Boolean searches. It would be a good place to start if you need
> > more
> > advanced query capability.
> >
> > Thanks,
> >
> > Steve Betts
> > sbetts@minethurn.com
> > 937-477-1797
> >
> > -----Original Message-----
> > From: Stefan Groschupf [mailto:sg@media-style.com]
> > Sent: Monday, January 23, 2006 3:00 PM
> > To: nutch-user@lucene.apache.org
> > Subject: Re: wildcard matches not working?
> >
> > Take a look to the query-basic plugin. It uses Lucene's Boolean
> > Query, may you can 'hack' there something.
> > HTH
> > Stefan
> >
> > Am 23.01.2006 um 13:09 schrieb Raghavendra Prabhu:
> >
> >> is the nutch analyser capable of storing text and retreiving text in
> >> wildcard format
> >>
> >> i know nutch does not support it now
> >>
> >> But even when i modified the code and made sure that i passed a
> >> wild card
> >> query ,then also it did not work.
> >>
> >> Any of u have ideas on this
> >>
> >> On 1/23/06, Carl-Johan Ström <ca...@linknet.se> wrote:
> >>>
> >>> I'm also wondering about the status of wildcard och fuzzy
> >>> searches. I'm
> >>> using Nutch to index the producs in a webshop, so I really need
> >>> them.
> >>
> >>
> >>
> >>
> >>
> >> Lucene supports them I think, why not Nutch?
> >>>
> >>> Thanks,
> >>> C-J
> >>>
> >>> -----Ursprungligt meddelande-----
> >>> Från: cilquirm.20552126@bloglines.com
> >>> [mailto:cilquirm.20552126@bloglines.com]
> >>> Skickat: den 19 januari 2006 17:33
> >>> Till: nutch-user@lucene.apache.org
> >>> Ämne: wildcard matches not working?
> >>>
> >>> i can't seem to get wildcard matches ( "test*" ) to work in my
> >>> index using
> >>> the default nutch search application.
> >>>
> >>> is there something i'm missing?
> >>>
> >>>
> >>> i'm using nutch built from trunk, with a patch applied that lets
> >>> htdig-noindex
> >>> boundaries not be indexed.
> >>>
> >>> Thanks in advance for any help,
> >>> -a
> >>>
> >>>
> >
> > ---------------------------------------------------------------
> > company: http://www.media-style.com
> > forum: http://www.text-mining.org
> > blog: http://www.find23.net
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------
> company: http://www.media-style.com
> forum: http://www.text-mining.org
> blog: http://www.find23.net
>
>
>
>
Re: wildcard matches not working?
Posted by Stefan Groschupf <sg...@media-style.com>.
Nutch has a own query parser so you just can recylce some code from
the generated QueryParser and add this to a plugin.
Am 23.01.2006 um 21:10 schrieb Steve Betts:
> Lucene has a tool call QueryParser that handles all the appropriate
> wildcard
> and Boolean searches. It would be a good place to start if you need
> more
> advanced query capability.
>
> Thanks,
>
> Steve Betts
> sbetts@minethurn.com
> 937-477-1797
>
> -----Original Message-----
> From: Stefan Groschupf [mailto:sg@media-style.com]
> Sent: Monday, January 23, 2006 3:00 PM
> To: nutch-user@lucene.apache.org
> Subject: Re: wildcard matches not working?
>
> Take a look to the query-basic plugin. It uses Lucene's Boolean
> Query, may you can 'hack' there something.
> HTH
> Stefan
>
> Am 23.01.2006 um 13:09 schrieb Raghavendra Prabhu:
>
>> is the nutch analyser capable of storing text and retreiving text in
>> wildcard format
>>
>> i know nutch does not support it now
>>
>> But even when i modified the code and made sure that i passed a
>> wild card
>> query ,then also it did not work.
>>
>> Any of u have ideas on this
>>
>> On 1/23/06, Carl-Johan Ström <ca...@linknet.se> wrote:
>>>
>>> I'm also wondering about the status of wildcard och fuzzy
>>> searches. I'm
>>> using Nutch to index the producs in a webshop, so I really need
>>> them.
>>
>>
>>
>>
>>
>> Lucene supports them I think, why not Nutch?
>>>
>>> Thanks,
>>> C-J
>>>
>>> -----Ursprungligt meddelande-----
>>> Från: cilquirm.20552126@bloglines.com
>>> [mailto:cilquirm.20552126@bloglines.com]
>>> Skickat: den 19 januari 2006 17:33
>>> Till: nutch-user@lucene.apache.org
>>> Ämne: wildcard matches not working?
>>>
>>> i can't seem to get wildcard matches ( "test*" ) to work in my
>>> index using
>>> the default nutch search application.
>>>
>>> is there something i'm missing?
>>>
>>>
>>> i'm using nutch built from trunk, with a patch applied that lets
>>> htdig-noindex
>>> boundaries not be indexed.
>>>
>>> Thanks in advance for any help,
>>> -a
>>>
>>>
>
> ---------------------------------------------------------------
> company: http://www.media-style.com
> forum: http://www.text-mining.org
> blog: http://www.find23.net
>
>
>
>
>
---------------------------------------------------------------
company: http://www.media-style.com
forum: http://www.text-mining.org
blog: http://www.find23.net
RE: wildcard matches not working?
Posted by Steve Betts <sb...@minethurn.com>.
Lucene has a tool call QueryParser that handles all the appropriate wildcard
and Boolean searches. It would be a good place to start if you need more
advanced query capability.
Thanks,
Steve Betts
sbetts@minethurn.com
937-477-1797
-----Original Message-----
From: Stefan Groschupf [mailto:sg@media-style.com]
Sent: Monday, January 23, 2006 3:00 PM
To: nutch-user@lucene.apache.org
Subject: Re: wildcard matches not working?
Take a look to the query-basic plugin. It uses Lucene's Boolean
Query, may you can 'hack' there something.
HTH
Stefan
Am 23.01.2006 um 13:09 schrieb Raghavendra Prabhu:
> is the nutch analyser capable of storing text and retreiving text in
> wildcard format
>
> i know nutch does not support it now
>
> But even when i modified the code and made sure that i passed a
> wild card
> query ,then also it did not work.
>
> Any of u have ideas on this
>
> On 1/23/06, Carl-Johan Str�m <ca...@linknet.se> wrote:
>>
>> I'm also wondering about the status of wildcard och fuzzy
>> searches. I'm
>> using Nutch to index the producs in a webshop, so I really need them.
>
>
>
>
>
> Lucene supports them I think, why not Nutch?
>>
>> Thanks,
>> C-J
>>
>> -----Ursprungligt meddelande-----
>> Fr�n: cilquirm.20552126@bloglines.com
>> [mailto:cilquirm.20552126@bloglines.com]
>> Skickat: den 19 januari 2006 17:33
>> Till: nutch-user@lucene.apache.org
>> �mne: wildcard matches not working?
>>
>> i can't seem to get wildcard matches ( "test*" ) to work in my
>> index using
>> the default nutch search application.
>>
>> is there something i'm missing?
>>
>>
>> i'm using nutch built from trunk, with a patch applied that lets
>> htdig-noindex
>> boundaries not be indexed.
>>
>> Thanks in advance for any help,
>> -a
>>
>>
---------------------------------------------------------------
company: http://www.media-style.com
forum: http://www.text-mining.org
blog: http://www.find23.net
Re: wildcard matches not working?
Posted by Stefan Groschupf <sg...@media-style.com>.
Take a look to the query-basic plugin. It uses Lucene's Boolean
Query, may you can 'hack' there something.
HTH
Stefan
Am 23.01.2006 um 13:09 schrieb Raghavendra Prabhu:
> is the nutch analyser capable of storing text and retreiving text in
> wildcard format
>
> i know nutch does not support it now
>
> But even when i modified the code and made sure that i passed a
> wild card
> query ,then also it did not work.
>
> Any of u have ideas on this
>
> On 1/23/06, Carl-Johan Ström <ca...@linknet.se> wrote:
>>
>> I'm also wondering about the status of wildcard och fuzzy
>> searches. I'm
>> using Nutch to index the producs in a webshop, so I really need them.
>
>
>
>
>
> Lucene supports them I think, why not Nutch?
>>
>> Thanks,
>> C-J
>>
>> -----Ursprungligt meddelande-----
>> Från: cilquirm.20552126@bloglines.com
>> [mailto:cilquirm.20552126@bloglines.com]
>> Skickat: den 19 januari 2006 17:33
>> Till: nutch-user@lucene.apache.org
>> Ämne: wildcard matches not working?
>>
>> i can't seem to get wildcard matches ( "test*" ) to work in my
>> index using
>> the default nutch search application.
>>
>> is there something i'm missing?
>>
>>
>> i'm using nutch built from trunk, with a patch applied that lets
>> htdig-noindex
>> boundaries not be indexed.
>>
>> Thanks in advance for any help,
>> -a
>>
>>
---------------------------------------------------------------
company: http://www.media-style.com
forum: http://www.text-mining.org
blog: http://www.find23.net
Re: wildcard matches not working?
Posted by Raghavendra Prabhu <rr...@gmail.com>.
is the nutch analyser capable of storing text and retreiving text in
wildcard format
i know nutch does not support it now
But even when i modified the code and made sure that i passed a wild card
query ,then also it did not work.
Any of u have ideas on this
On 1/23/06, Carl-Johan Ström <ca...@linknet.se> wrote:
>
> I'm also wondering about the status of wildcard och fuzzy searches. I'm
> using Nutch to index the producs in a webshop, so I really need them.
Lucene supports them I think, why not Nutch?
>
> Thanks,
> C-J
>
> -----Ursprungligt meddelande-----
> Från: cilquirm.20552126@bloglines.com
> [mailto:cilquirm.20552126@bloglines.com]
> Skickat: den 19 januari 2006 17:33
> Till: nutch-user@lucene.apache.org
> Ämne: wildcard matches not working?
>
> i can't seem to get wildcard matches ( "test*" ) to work in my index using
> the default nutch search application.
>
> is there something i'm missing?
>
>
> i'm using nutch built from trunk, with a patch applied that lets
> htdig-noindex
> boundaries not be indexed.
>
> Thanks in advance for any help,
> -a
>
>
Re: wildcard matches not working?
Posted by Carl-Johan Ström <ca...@linknet.se>.
Im also wondering about the status of wildcard och fuzzy searches. Im
using Nutch to index the producs in a webshop, so I really need them.
Lucene supports them I think, why not Nutch?
Thanks,
C-J
-----Ursprungligt meddelande-----
Från: cilquirm.20552126@bloglines.com
[mailto:cilquirm.20552126@bloglines.com]
Skickat: den 19 januari 2006 17:33
Till: nutch-user@lucene.apache.org
Ämne: wildcard matches not working?
i can't seem to get wildcard matches ( "test*" ) to work in my index using
the default nutch search application.
is there something i'm missing?
i'm using nutch built from trunk, with a patch applied that lets
htdig-noindex
boundaries not be indexed.
Thanks in advance for any help,
-a