You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by michael8 <mi...@saracatech.com> on 2010/01/08 19:12:08 UTC

hits=XXX not always there in solr.log.* file?!?

Hi,
I'm puzzled by this issue and was wondering if anyone knows why.  Basically
I am trying to get hit counts from my solr.log.* files for analysis purpose. 
However, I noticed that sometimes for a request I don't get a "hits=xyz"
shown.  

Here are 2 example log snippets from my solr.log.2010_01_07 file, one with
'hits=' count and one without from the same given solr instance:

------ query WITH 'hits=xyz' count in log ------
INFO: [items] webapp=/solr path=/select
params={spellcheck=true&facet=true&sort=item_pubDate+desc&facet.limit=21&hl=true&version=2.2&f.cat_title.facet.sort=index&f.credibility.facet.sort=index&spellcheck.count=1&facet.field={!ex%3Dscat}cat_title&facet.field=user_key&facet.field={!ex%3Dscred}credibility&fq={!tag%3Dscred}credibility:[1+TO+3]&fq=grouping_id:"AMS-141002-2010-01-07"&fq=-item_id:127272858&fq=-item_id:127272859&f.cat_title.facet.method=fc&f.user_key.facet.mincount=1&spellcheck.extendedResults=true&json.nl=map&hl.fl=item_title+item_desc&wt=json&spellcheck.collate=true&spellcheck.onlyMorePopular=false&rows=100&f.item_title.hl.fragsize=105&start=0&q=Obama&f.item_desc.hl.fragsize=110&f.user_key.facet.method=fc&f.cat_title.facet.mincount=1}
hits=755 status=0 QTime=290 

------- query WITHOUT hits=xyz count in log ----------
INFO: [items] webapp=/solr path=/select
params={spellcheck=true&collapse.info.doc=false&facet=true&sort=item_pubDate+desc&facet.limit=21&hl=true&f.cat_title.facet.sort=index&version=2.2&collapse.field=grouping_id&f.credibility.facet.sort=index&spellcheck.count=1&facet.field={!ex%3Dscat}cat_title&facet.field=user_key&facet.field={!ex%3Dscred}credibility&fq={!tag%3Dscred}credibility:3&f.cat_title.facet.method=fc&collapse.threshold=2&f.user_key.facet.mincount=1&spellcheck.extendedResults=true&hl.fl=item_title+item_desc&json.nl=map&spellcheck.collate=true&wt=json&spellcheck.onlyMorePopular=false&rows=10&f.item_title.hl.fragsize=105&start=0&q=Obama&f.item_desc.hl.fragsize=110&f.user_key.facet.method=fc&f.cat_title.facet.mincount=1}
status=0 QTime=42 

Thanks for any info or help.

Michael
-- 
View this message in context: http://old.nabble.com/hits%3DXXX-not-always-there-in-solr.log.*-file-%21--tp27080137p27080137.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: hits=XXX not always there in solr.log.* file?!? collapse field related?

Posted by michael8 <mi...@saracatech.com>.
Update: from my further investigation, it appears that anytime I am using the
collapse field feature (I am running collapse field patch on 1.4), then the
hits= count is not shown in the log.  Anyone can confirm?


michael8 wrote:
> 
> Hi,
> I'm puzzled by this issue and was wondering if anyone knows why. 
> Basically I am trying to get hit counts from my solr.log.* files for
> analysis purpose.  However, I noticed that sometimes for a request I don't
> get a "hits=xyz" shown.  
> 
> Here are 2 example log snippets from my solr.log.2010_01_07 file, one with
> 'hits=' count and one without from the same given solr instance:
> 
> ------ query WITH 'hits=xyz' count in log ------
> INFO: [items] webapp=/solr path=/select
> params={spellcheck=true&facet=true&sort=item_pubDate+desc&facet.limit=21&hl=true&version=2.2&f.cat_title.facet.sort=index&f.credibility.facet.sort=index&spellcheck.count=1&facet.field={!ex%3Dscat}cat_title&facet.field=user_key&facet.field={!ex%3Dscred}credibility&fq={!tag%3Dscred}credibility:[1+TO+3]&fq=grouping_id:"AMS-141002-2010-01-07"&fq=-item_id:127272858&fq=-item_id:127272859&f.cat_title.facet.method=fc&f.user_key.facet.mincount=1&spellcheck.extendedResults=true&json.nl=map&hl.fl=item_title+item_desc&wt=json&spellcheck.collate=true&spellcheck.onlyMorePopular=false&rows=100&f.item_title.hl.fragsize=105&start=0&q=Obama&f.item_desc.hl.fragsize=110&f.user_key.facet.method=fc&f.cat_title.facet.mincount=1}
> hits=755 status=0 QTime=290 
> 
> ------- query WITHOUT hits=xyz count in log ----------
> INFO: [items] webapp=/solr path=/select
> params={spellcheck=true&collapse.info.doc=false&facet=true&sort=item_pubDate+desc&facet.limit=21&hl=true&f.cat_title.facet.sort=index&version=2.2&collapse.field=grouping_id&f.credibility.facet.sort=index&spellcheck.count=1&facet.field={!ex%3Dscat}cat_title&facet.field=user_key&facet.field={!ex%3Dscred}credibility&fq={!tag%3Dscred}credibility:3&f.cat_title.facet.method=fc&collapse.threshold=2&f.user_key.facet.mincount=1&spellcheck.extendedResults=true&hl.fl=item_title+item_desc&json.nl=map&spellcheck.collate=true&wt=json&spellcheck.onlyMorePopular=false&rows=10&f.item_title.hl.fragsize=105&start=0&q=Obama&f.item_desc.hl.fragsize=110&f.user_key.facet.method=fc&f.cat_title.facet.mincount=1}
> status=0 QTime=42 
> 
> Thanks for any info or help.
> 
> Michael
> 

-- 
View this message in context: http://old.nabble.com/hits%3DXXX-not-always-there-in-solr.log.*-file-%21--tp27080137p27080234.html
Sent from the Solr - User mailing list archive at Nabble.com.