RE: Wildcard searches

2014-02-06 Thread Allison, Timothy B.
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

RE: Wildcard searches

2014-02-06 Thread raghavendra.k.rao
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

RE: Wildcard searches

2014-02-06 Thread Allison, Timothy B.
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

RE: Wildcard searches

2014-02-06 Thread raghavendra.k.rao
@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

RE: Wildcard searches

2014-02-06 Thread Allison, Timothy B.
] Sent: Thursday, February 06, 2014 5:19 PM To: java-user@lucene.apache.org Subject: RE: Wildcard searches 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

Re: Wildcard searches

2014-02-05 Thread Jack Krupansky
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:

Re: Wildcard searches

2014-02-05 Thread Michael Sokolov
On 2/5/2014 6:30 PM, raghavendra.k@barclays.com wrote: Hi, Can Lucene support wildcard searches such as the ones shown below? Indexed value is XYZ CORPORATION LIMITED. If you index the value as a single token (KeywordTokenizer), there is nothing really special about the examples you

RE: Wildcard searches????

2010-02-05 Thread Fuad Efendi
/ /fields Any clue? Nic -Original Message- From: Ted Dunning [mailto:ted.dunn...@gmail.com] Sent: 05 February 2010 21:18 To: gene...@lucene.apache.org Cc: java-user@lucene.apache.org Subject: Re: Wildcard searches This is quite close. You will have to break down the user

RE: Wildcard searches????

2010-02-05 Thread Digy
http://en.wikipedia.org/wiki/Crossposting -Original Message- From: Niclas Rothman [mailto:n...@lechill.com] Sent: Saturday, February 06, 2010 12:12 AM To: gene...@lucene.apache.org Cc: java-user@lucene.apache.org Subject: RE: Wildcard searches Hi Fuad and thanks for your reply

RE: Wildcard searches????

2010-02-05 Thread Fuad Efendi
-Original Message- From: Niclas Rothman [mailto:n...@lechill.com] Sent: February-05-10 6:12 PM To: gene...@lucene.apache.org Cc: java-user@lucene.apache.org Subject: RE: Wildcard searches Hi Fuad and thanks for your reply! The first post I know now was a wrong approach, I

RE: Wildcard searches????

2010-02-05 Thread Fuad Efendi
hard coding...) -Original Message- From: Ted Dunning [mailto:ted.dunn...@gmail.com] Sent: February-05-10 6:45 PM To: gene...@lucene.apache.org Cc: java-user@lucene.apache.org Subject: Re: Wildcard searches Fuad, I think that you took Niclas requirements backwards. He

Re: Wildcard searches and document boost

2009-12-20 Thread TorAtle
You need to change multiTermRewriteMethod of QueryParser. qp.setMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE); Thanks. So the normal way of doing this is setting the rewrite method to scoring, and if BooleanQuery.TooManyClauses is catched then switch back to constant

RE: Wildcard searches and document boost

2009-12-20 Thread Uwe Schindler
: Wildcard searches and document boost You need to change multiTermRewriteMethod of QueryParser. qp.setMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE) ; Thanks. So the normal way of doing this is setting the rewrite method to scoring, and if BooleanQuery.TooManyClauses

RE: Wildcard searches and document boost

2009-12-19 Thread Uwe Schindler
WildcardQuery is a subclass of MultiTermQuery, read the javadocs about MTQ, than you might understand whats going on and what you can do. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: TorAtle

Re: Wildcard searches and document boost

2009-12-19 Thread AHMET ARSLAN
For instance, when searching for wash* I want Washington (the city) to appear before Washington Park, so I have boosted the Washington document. Unfortunately, when using WildcardQuery, the score is always 1.0. Luke says my query has been rewritten to ConstantScore(myField:wash*), so

Re: Wildcard searches with * or ? as the first character - Thanks

2007-03-14 Thread Oystein Reigem
Thanks Steven and Antony. I read the FAQ not very long ago, but that slipped my attention. Or perhaps it's a recent change. - Øystein - -- Øystein Reigem, The department of culture, language and information technology (Aksis), Allegt 27, N-5007 Bergen, Norway. Tel: +47 55 58 32 42. Fax: +47

RE: Wildcard searches with * or ? as the first character

2007-03-13 Thread Steven Parkes
It's possible to do leading wildcard searches in Lucene as of 2.1. See http://wiki.apache.org/lucene-java/LuceneFAQ#head-4d62118417eaef0dcb87f4370583f809848ea695 (http://tinyurl.com/366suf) -Original Message- From: Oystein Reigem [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007

Re: Wildcard searches with * or ? as the first character

2007-03-13 Thread Antony Bowesman
I have read that with Lucene it is not possible to do wildcard searches with * or ? as the first character. Wildcard searches with * as the Lucene supports it. If you are using QueryParser to parse your queries see