It depends (tm). What analyzer are you using when indexing?

I'd expect (though I haven't checked) that StandardAnalyzer
would break SD/DDeck into two tokens, SD and DDeck which
corresponds nicely with what you're reporting.

Other analyzers and/or filters are easy to specify....

I'd recommend getting a copy of Luke and examining your
index to see what's actually in it....

Best
Erick

On Wed, Jan 21, 2009 at 3:43 PM, Ron Chan <rc...@i-tao.com> wrote:

> I have a test search which I know should return 34 docs and it does
>
> however, numFound says 40
>
> with debug enabled, I can see the 40 it has found
>
> my search looks for "SD DDeck" in the description
>
> 34 of them had "SD DDeck" with 6 of them having "SD/DDeck"
>
> now, I can probably work round it if had returned me the 40 docs but the
> problem is it returns 34 docs but gives me a numFound of 40
>
> is this expected behavior?
>
>
>

Reply via email to