Larry, the patch for that is already in JIRA, the issue-tracking system, and 
might be committed soon.

Otis

----- Original Message ----
From: "Fillion, Larry" <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Friday, October 20, 2006 1:58:04 PM
Subject: Wildcard Search and "Note: You cannot use a * or ? symbol as the  
first character of a search"

Documentation: http://lucene.apache.org/java/docs/queryparsersyntax.html

 

WildCard Searches 

    Lucene supports single and multiple character wildcard searches.

    To perform a single character wildcard search use the "?" symbol.

    To perform a multiple character wildcard search use the "*" symbol.

    ...

    Note: You cannot use a * or ? symbol as the first character of a
search.

 

I have a business requirement to search for terms with a wildcard at the
beginning "*ext". Is there a reason why this is not supported? Can I
easily modify the code to allow this feature or is it a major change? Is
there a some other way to do this? I could perform 26 queries a*ext
b*ext c*ext d*ext ... and rolling them up but I am guessing there should
be a better way.

 

  Thank you, Larry

 

    

 





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to