No, you are probably using KeywordAnalyzer

What is your indexing code?

On Mon, Sep 26, 2011 at 3:28 PM, Tim Haughton <timhaugh...@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
>

Reply via email to