lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Haughton <timhaugh...@gmail.com>
Subject [Lucene.Net] Indexing Oddity
Date Mon, 26 Sep 2011 12:28:30 GMT
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