numFound problem

2009-01-21 Thread Ron Chan
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

Re: numFound problem

2009-01-21 Thread Erick Erickson
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 get

Re: numFound problem

2009-01-21 Thread Ron Chan
20:49:56 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: numFound problem 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

Re: numFound problem

2009-01-21 Thread Erick Erickson
the StandardAnalyzer > > but shouldn't the returned docs equal numFound? > > > - Original Message - > From: "Erick Erickson" > To: solr-user@lucene.apache.org > Sent: Wednesday, 21 January, 2009 20:49:56 GMT +00:00 GMT Britain, Ireland, > Portugal >

Re: numFound problem

2009-01-21 Thread Koji Sekiguchi
y, 2009 20:49:56 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: numFound problem 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 nic

Re: numFound problem

2009-01-22 Thread Chris Hostetter
: 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 ... : 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 numFoun

Re: numFound problem

2009-01-22 Thread Ron Chan
Chris Hostetter" To: solr-user@lucene.apache.org Sent: Thursday, 22 January, 2009 20:15:27 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: numFound problem : I have a test search which I know should return 34 docs and it does : : however, numFound says 40 : : with debug enabled, I c