lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: WildcardQuery
Date Tue, 11 Dec 2001 14:22:04 GMT
If I understand you correctly, you tried to search for '*new*'.  I
believe you can't use an asterisk (*) as the first query of the query
term. So, new* is valid, while *new or *new* is not.

Otis

--- "Serge A. Redchuk" <bitl@mail.ru> wrote:
> Hello sampreet,
> 
> Tuesday, December 11, 2001, 6:44:29 AM, you wrote:
> 
> sic> Hi All,
> 
> sic> This must be simple enough, but can anyone please explain me
> when a
> sic> WildcardQuery is created in QueryParser i.e. what special
> characters in the
> sic> query string are required to build a WildcardQuery within
> QueryParser?
> 
> Moreover, when I achieved complex search like this: "path:*new*
> comp*"
> by combining WildcardQueries in BooleanQuery (NOT BY QueryParser),
> and
> then got that query using boolq.toString(...); - the QueryParser
> COULD
> NOT parse this string !!!
> 
> Is not it strange ? :
> 
>    QueryParser.parse( bquery.toString( ... ) ) ....  - do not work
> :-(
> 
> -- 
> Best regards,
>  Serge                            mailto:bitl@mail.ru
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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


Mime
View raw message