Facet count != Query count

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Facet count != Query count

project2501
Hi,
  What could cause a facet query on a field (say 'name') differ in count
from a basic query on the field using the same value?

e.g

name:'Darren'

If there are 10 documents that match this, the facet count should be 10
for 'Darren', and I should get 10 results if I query on the field.

But after loading 2000 documents, I am getting different values for
each.

Darren
Reply | Threaded
Open this post in threaded view
|

Re: Facet count != Query count

Chris Hostetter-3

:   What could cause a facet query on a field (say 'name') differ in count
: from a basic query on the field using the same value?

lots of things are possible -- largely related to how your field is
analyzed.

you need to show us the relavent sections from your schema.xml (the field
and fieldtype), full URLs will all of hte query params (rows=0 is usually
suitable for questions just about result counts and facet counts), and the
output you get from those URLs ... ideally with debugQuery=true so we can
see exactly how it's getting parsed.


-Hoss