Sorry, but I don't know what exactly you mean by compile from these locations. 
Do you mean I could download and customize the code?

Regards,
Raghu


-----Original Message-----
From: Allison, Timothy B. [mailto:talli...@mitre.org] 
Sent: Thursday, February 06, 2014 2:35 PM
To: java-user@lucene.apache.org
Subject: RE: Wildcard searches

Sorry, you're right.  I'm not sure that it analyzes multiterm components, 
either.  The Surround query parser also has similar limitations.

Best bet might be to compile: 
https://issues.apache.org/jira/i#browse/LUCENE-5205 or 
https://issues.apache.org/jira/browse/LUCENE-1486 .


-----Original Message-----
From: raghavendra.k....@barclays.com [mailto:raghavendra.k....@barclays.com] 
Sent: Thursday, February 06, 2014 11:49 AM
To: java-user@lucene.apache.org
Subject: RE: Wildcard searches

Thank you, Tim.

I have read that ComplexPhraseQueryParser has issues while searching in more 
than one field. In my case, I need to search the value in multiple fields of 
each document.

Do you think it is possible? Also, could you please direct me to any useful 
links for ComplexPhraseQueryParser that you may be aware of? I am looking for 
some examples. Thanks!

Regards,
Raghu


-----Original Message-----
From: Allison, Timothy B. [mailto:talli...@mitre.org] 
Sent: Thursday, February 06, 2014 8:02 AM
To: java-user@lucene.apache.org
Subject: RE: Wildcard searches

Ditto Jack on ComplexPhraseQueryParser.

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

-----Original Message-----
From: Jack Krupansky [mailto:j...@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....@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


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

_______________________________________________

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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


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

_______________________________________________

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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to