lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allison, Timothy B." <talli...@mitre.org>
Subject RE: Wildcard searches
Date Thu, 06 Feb 2014 13:02:17 GMT
Ditto Jack on ComplexPhraseQueryParser.

See also: https://issues.apache.org/jira/i#browse/LUCENE-5205

-----Original Message-----
From: Jack Krupansky [mailto:jack@basetechnology.com] 
Sent: Wednesday, February 05, 2014 6:59 PM
To: java-user@lucene.apache.org
Subject: Re: Wildcard searches

Take a look at the complex phrase query parser.

See:
http://lucene.apache.org/core/4_6_0/queryparser/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.html

See also:
https://issues.apache.org/jira/browse/LUCENE-1486

-- Jack Krupansky

-----Original Message----- 
From: raghavendra.k.rao@barclays.com
Sent: Wednesday, February 5, 2014 6:30 PM
To: java-user@lucene.apache.org
Subject: Wildcard searches

Hi,

Can Lucene support wildcard searches such as the ones shown below?

Indexed value is "XYZ CORPORATION LIMITED".

XYZ CORPORATION LIMI*
XYZ CORPORATION *MIT*
XYZ *PORAT* LIMI*
*YZ CORPO* LIMITE*

In other words, the flexibility for the user to provide a wild card at any 
position, in a situation where they aren't sure about the exact value. 
Ignoring the performance aspect, please suggest if it is even possible. If 
yes, please provide further inputs on how to approach it such as Analyzer / 
Tokenizer to consider, whether PhraseQueries can be formed etc.

Any input is greatly appreciated.

Regards,
Raghu


_______________________________________________

This message is for information purposes only, it is not a recommendation, 
advice, offer or solicitation to buy or sell a product or service nor an 
official confirmation of any transaction. It is directed at persons who are 
professionals and is not intended for retail customer use. Intended for 
recipient only. This message is subject to the terms at: 
www.barclays.com/emaildisclaimer.

For important disclosures, please see: 
www.barclays.com/salesandtradingdisclaimer regarding market commentary from 
Barclays Sales and/or Trading, who are active market participants; and in 
respect of Barclays Research, including disclosures relating to specific 
issuers, please see http://publicresearch.barclays.com.

_______________________________________________ 


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


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


Mime
View raw message