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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to