lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Itamar Syn-Hershko <ita...@code972.com>
Subject Re: [Lucene.Net] Indexing Oddity
Date Mon, 26 Sep 2011 12:37:05 GMT
No, you are probably using KeywordAnalyzer

What is your indexing code?

On Mon, Sep 26, 2011 at 3:28 PM, Tim Haughton <timhaughton@gmail.com> wrote:

> Hi, I'm trying to index a text file containing the following text:
>
> DNE,APLU,GB11/0290
> DNE,CMDU,11-1431
> DNE,EGLV,NO CONTRACT
> DNE,HJSC,ANE112376
> DNE,HLCU,NO CONTRACT
> DNE,MAEU,547712
> DNE,MOLU,NO CONTRACT
> DNE,OOLU,AE115029
>
> It appears that each "line" is being indexed as one complete string, rather
> than at least 3 terms. So if I search for "547712" I get no results. But if
> I search for "DNE,MAEU,547712" I find the document. If I add a space after
> each comma it indexes them as individual terms.
>
> Is this expected behaviour using the StandardAnalyzer?
>
> Cheers,
>
> Tim
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message