You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Rishabh Bajpai <r_...@lycos.com> on 2003/02/01 05:32:36 UTC

Wildchar based search?? |

 
that actually brings me to another question...

1) to what extent are wildcards supported by lucenes? 
2) what are the known bugs and where can i find the relevant documentation pertaining to them?
3) Is there some specific way in which the indexes are to be built, for them to return wildchar based search results? I believe there is but i am not sure where to look for that information.

thanks 
Rishabh


--

On Fri, 31 Jan 2003 14:19:11  
 Otis Gospodnetic wrote:
>The thread more suited for lucene-user.
>
>I think that's just a bad work to be indexing....Microsoft...sheesh.
>Ok, it's not.  This is a known thing, even mentioned in the FAQ on
>jGuru.
>For how StandardFilter works it's best to look at the source, it's
>quite simple.  I think I might have mentioned that in the Lucene
>article on Onjava.com as well....not 100% sure any more :)
>
>Otis
>
>
>--- Lukas Zapletal <lz...@root.cz> wrote:
>> Hello all,
>> 
>> I have a small problem. Let`s have a word 'Microsoft' indexed in
>> Lucene. 
>> When I query Microsoft, it returns the document, but when I try
>> Micro* 
>> then nothing is found. After lowercasing the first letter to micro* 
>> Lucene returns the document.
>> 
>> The same thing is with ?. When I use it, only lower-cased words are
>> matched.
>> 
>> Is this a bug or Am I missing something?
>> 
>> ps - where can I find some information how Lucene parse the input
>> when 
>> using StandardFilter. I mean I don`t know what is ignored and what
>> not. 
>> For example acronyms (U.S.A), dates (2002-11-07 or 1. 1. 2003) etc...
>> I 
>> cannot find it in the documentation. In the StandardFilter API there
>> is 
>> onthing, it seems to be generated from JavaCC.
>> 
>> -- 
>> Lukas Zapletal      [lzap@root.cz]
>> http://www.tanecni-olomouc.cz/lzap
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>> 
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Wildchar based search?? |

Posted by Tatu Saloranta <ta...@hypermall.net>.
On Saturday 01 February 2003 00:19, Otis Gospodnetic wrote:
> > 1) to what extent are wildcards supported by lucenes?
>
> You can use * and ? the way they usually are used.

I think there was one exception; first character of a simple term
can not be a wildcard? (this from query syntax page).

-+ Tatu +-


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Wildchar based search?? |

Posted by Otis Gospodnetic <ot...@yahoo.com>.
> 1) to what extent are wildcards supported by lucenes? 

You can use * and ? the way they usually are used.

> 2) what are the known bugs and where can i find the relevant
> documentation pertaining to them?

Why do you think there are bugs in the first place?  Have you
encountered any bugs?

> 3) Is there some specific way in which the indexes are to be built,
> for them to return wildchar based search results? I believe there is
> but i am not sure where to look for that information.

No, nothing special needs to be done.

Otis

> thanks 
> Rishabh
> 
> 
> --
> 
> On Fri, 31 Jan 2003 14:19:11  
>  Otis Gospodnetic wrote:
> >The thread more suited for lucene-user.
> >
> >I think that's just a bad work to be indexing....Microsoft...sheesh.
> >Ok, it's not.  This is a known thing, even mentioned in the FAQ on
> >jGuru.
> >For how StandardFilter works it's best to look at the source, it's
> >quite simple.  I think I might have mentioned that in the Lucene
> >article on Onjava.com as well....not 100% sure any more :)
> >
> >Otis
> >
> >
> >--- Lukas Zapletal <lz...@root.cz> wrote:
> >> Hello all,
> >> 
> >> I have a small problem. Let`s have a word 'Microsoft' indexed in
> >> Lucene. 
> >> When I query Microsoft, it returns the document, but when I try
> >> Micro* 
> >> then nothing is found. After lowercasing the first letter to
> micro* 
> >> Lucene returns the document.
> >> 
> >> The same thing is with ?. When I use it, only lower-cased words
> are
> >> matched.
> >> 
> >> Is this a bug or Am I missing something?
> >> 
> >> ps - where can I find some information how Lucene parse the input
> >> when 
> >> using StandardFilter. I mean I don`t know what is ignored and what
> >> not. 
> >> For example acronyms (U.S.A), dates (2002-11-07 or 1. 1. 2003)
> etc...
> >> I 
> >> cannot find it in the documentation. In the StandardFilter API
> there
> >> is 
> >> onthing, it seems to be generated from JavaCC.
> >> 
> >> -- 
> >> Lukas Zapletal      [lzap@root.cz]
> >> http://www.tanecni-olomouc.cz/lzap
> >> 
> >> 
> >> 
> >> 
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail:
> lucene-dev-help@jakarta.apache.org
> >> 
> >
> >
> >__________________________________________________
> >Do you Yahoo!?
> >Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> >http://mailplus.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> >
> >
> 
> 
> _____________________________________________________________
> Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
> http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org