lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <digyd...@gmail.com>
Subject RE: [jira] Updated: (LUCENENET-196) Wildcard as the first character in search
Date Wed, 14 Oct 2009 16:09:11 GMT
Olivier's solution is the fastest one. You can also use

 

queryParser.SetAllowLeadingWildcard(true)

 

to be able to use wildcards at the beginning.

 

DIGY

 

-----Original Message-----
From: Olivier Spinelli [mailto:olivier.spinelli@invenietis.fr] 
Sent: Wednesday, October 14, 2009 2:42 PM
To: lucene-net-dev@incubator.apache.org
Subject: RE: [jira] Updated: (LUCENENET-196) Wildcard as the first character in search

 

Hello,

 

This is a classical issue.

You may consider indexing the terms also in reverse order (indexing 'indexing' and 'gnixedni')
- either in the same or in a dedicated field. 

 

HTH

 

Olivier

 

-----Message d'origine-----

De : Stig Føyn (JIRA) [mailto:jira@apache.org] 

Envoyé : mercredi 14 octobre 2009 12:51

À : lucene-net-dev@incubator.apache.org

Objet : [jira] Updated: (LUCENENET-196) Wildcard as the first character in search

 

 

     [ https://issues.apache.org/jira/browse/LUCENENET-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

 

Stig Føyn updated LUCENENET-196:

--------------------------------

 

    Description: 

I have a business requirement to search for terms with a wildcard at the

beginning "*order".  Someone told me that this was in the the issue-tracking system, but I
cant seem to find it.

 

 

> Wildcard as the first character in search

> -----------------------------------------

> 

>                 Key: LUCENENET-196

>                 URL: https://issues.apache.org/jira/browse/LUCENENET-196

>             Project: Lucene.Net

>          Issue Type: Improvement

>            Reporter: Stig Føyn

> 

> I have a business requirement to search for terms with a wildcard at the

> beginning "*order".  Someone told me that this was in the the issue-tracking system,
but I cant seem to find it.

 

-- 

This message is automatically generated by JIRA.

-

You can reply to this email to add a comment to the issue online.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message