: >> 1. q=word&facet.field=CONTENT&facet=true&facet.prefix=&facet.limit=10&facet.mincount=1&facet.method=enum&rows=0 : >> 2. q=word&facet.field=CONTENT&facet=true&facet.prefix=a&facet.limit=10&facet.mincount=1&facet.method=enum&rows=0 : > : >> The only difference is am empty facet.prefix in the first query.
: >If you index was just opened when you issued your queries, the first : request will be notably slower than the second as the facet values might : not be in the disk cache. : : I know but it shouldn't be orders of magnitudes as in this example, should it? in and of itself: it can be if your index is large enough and none of the disk pages are in the file system buffer. more significantly however, is that depending on how big your filterCache is, the first request could eaisly be caching all of filters needed for the second query -- at a minimum it's definitely caching your main query which will be re-used and save a lot of time independent of hte faceting. -Hoss