Here's the sample code. Incidentally, this is in C#. I am using Lucene.NET,
but I am assuming this problem could be universal to all versions and that
this is a question that is best exposed to the collective wisdom of the Java
user group.
default list of ISO country codes.
*
public string[]
Please disregard previous request for assistance. I've fixed the bug I was
struggling with and it actually had nothing to do with the analyzer in
question.
Thanks very much.
On 7/13/07, Michael Barbarelli [EMAIL PROTECTED] wrote:
Here's the sample code. Incidentally, this is in C#. I am
Hello to All,
I'm having a problem with Lucene where certain words that I would like to be
included in the query are actually being ommitted from it. And I think that
is because Lucene recognizes them as stop words. This is the case with
roughly four terms in particular. They look like
: So far, I have attempted to fix this problem by defining my own list of stop
: words and passing that array onto a standard analyzer used for both indexing
: and searching. That didn't work. Would a per-field analyzer work in this
that is the correct way to change your stop word set ...
Hello Hoss.
Cheers for your response. Much appreciated.
typically the act of writing this sample code helps you spot where you
amy be doing something wrong in your application
Fair enough point. Unfortunately, I won't be able to post any sample code
until I return to my home office. Will