tokee / lucene-solr

High cardinality faceting (SOLR-5894)
http://tokee.github.io/lucene-solr/
7 stars 1 forks source link

More timing information in Phase 1 #55

Open tokee opened 8 years ago

tokee commented 8 years ago

Debugging unexpected high response times for a facet call gave the following output:

INFO  - 2016-08-22 10:35:44.692; org.apache.solr.request.sparse.SparseDocValuesFacets; 
Phase 1 sparse faceting of links: method=nplanez, threads=1, hits=130, refs=6079, 
time=530487ms (
  hitCount=0ms, 
  acquire=0ms, 
  collect=470ms, 
  extract=3ms (sparse=true), 
  resolve=7ms
), hits/ms=0, refs/ms=0, heuristic(requested=false, effective=false)

530487ms is way too long (this was not the first call, so the facet structures should have been created beforehand), but it is not apparent where the time has been spend.