Re: using phrase query with wildcard

2012-07-23 Thread Ahmet Arslan
> I'm trying to create a phrase query with wildcard, from the > forums it seems that the solution is not trivial. > I'm trying to create the following queries: "this is a > phrase*"  OR  "*This is a phrase" and > Get hits on every possibility where the * resides. > What is the best way to achieve t

Re: using phrase query with wildcard

2012-07-22 Thread Jack Krupansky
, 2012 4:51 AM To: java-user@lucene.apache.org Subject: RE: using phrase query with wildcard It can be both. -Original Message- From: Doron Yaacoby [mailto:dor...@gingersoftware.com] Sent: יום א 22 יולי 2012 11:48 To: java-user@lucene.apache.org Subject: RE: using phrase query with wildcard Is

RE: using phrase query with wildcard

2012-07-22 Thread Levin, Ilya
It can be both. -Original Message- From: Doron Yaacoby [mailto:dor...@gingersoftware.com] Sent: יום א 22 יולי 2012 11:48 To: java-user@lucene.apache.org Subject: RE: using phrase query with wildcard Is * a placeholder for a term or a part of a term? -Original Message- From

RE: using phrase query with wildcard

2012-07-22 Thread Doron Yaacoby
Is * a placeholder for a term or a part of a term? -Original Message- From: Levin, Ilya [mailto:ilya.le...@hp.com] Sent: 22 July 2012 11:29 To: java-user@lucene.apache.org Subject: using phrase query with wildcard Hi, I'm trying to create a phrase query with wildcard, from the f

using phrase query with wildcard

2012-07-22 Thread Levin, Ilya
Hi, I'm trying to create a phrase query with wildcard, from the forums it seems that the solution is not trivial. I'm trying to create the following queries: "this is a phrase*" OR "*This is a phrase" and Get hits on every possibility where the * resides. What is the best way to achieve this?