1) the API you are using indicates you are using a fairly old version of
Lucene ... I strongly urge you to upgrade, as there have been many
improvements and bug fixes ... three have also beeen many methods
deprecated and removed, if you start using an old version now (with it's
old methods) it wil
Hi Harini;
If you are already indexing phone numbers in a separate field, you
could also consider indexing the area code as a separate field too.
This might give better performance depending on the size of your
index.
Ozgur
On 6/12/07, Harini Raghavan <[EMAIL PROTECTED]> wrote:
Hi All,
I am
Hi Harini,
Harini Raghavan wrote:
> I am trying to create a lucene query to search for companies based on
> areacode. The phone no. is stored in the lucene index in the form of
> '415-567-2323'. I need to create a query like +areaCode:"415-". But the
> QueryParser is stripping off the hyphen(-).
>
Hi All,
I am trying to create a lucene query to search for companies based on
areacode. The phone no. is stored in the lucene index in the form of
'415-567-2323'. I need to create a query like +areaCode:"415-". But the
QueryParser is stripping off the hyphen(-).
Here is the code to create the qu