lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane James Vaucher <vauch...@cirano.qc.ca>
Subject RE: WildCardQuery
Date Fri, 01 Oct 2004 06:06:04 GMT
Can you be a little more precise about how you process your documents?

1) What's your analyser? SimpleAnalyzer?
2) How do you parse the query? Out-of-the-box QueryParser?

> can we not enter space or do an OR search with two words one of which
> has a wildcard ?

Simple answer, yes.

Complicated answer, words are delimited by your tokeniser. That's included
in your analyser (hence my question above). The asterix syntax comes
from using a query parser that transforms the query into a PrefixQuery
object.

sv

On Fri, 1 Oct 2004, Robinson Raju w Hi ,
>    Would there be a problem if one enters space while using wildcards ?
> say i search for 'abc' . i get 100 hits as results
> 'man' gives - 200
> 'abc man' gives 300
> but
> 'ab* man'
> 'abc ma*'
> ab* ma*'
> ab* OR ma*
> ..
> all of these return 0 results.
> can we not enter space or do an OR search with two words one of which
> has a wildcard ?
>
> Regards,
> Robin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>


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


Mime
View raw message