Good question.  I checked the output sent to Jetty.  In the case where it 
returns a blank page, nothing at all is sent to Jetty.  This raised my 
suspicion that Solr never got a chance to process the query.  Sure enough, it 
led me to the finding that Jetty by default cannot take more than 4 KB of 
header.  After I increased that limit, everything works.
Problem solved.




________________________________
 From: Erick Erickson <erickerick...@gmail.com>
To: solr-user@lucene.apache.org; Yuhao <nfsvi...@yahoo.com> 
Sent: Sunday, January 29, 2012 1:05 PM
Subject: Re: Strange things happen when I query with many facet.prefixes and fq 
filters
 
The very first question I have is "what do your Solr logs show"? I suspect
you'll see something interesting there. Otherwise, there's no way really to
say what's going on here without reproducing your setup...

Best
Erick

On Fri, Jan 27, 2012 at 6:48 PM, Yuhao <nfsvi...@yahoo.com> wrote:
> Hi,
>
> I'm having issues when running the following query, which is produced by 
> expanding several hierarchical facets (implemented the facet.prefix way).  I 
> realize it's pretty massive, but I'd like to figure out what exactly is 
> causing the problem.  Is it too many facet.prefix clauses, too many fq 
> filters, the combo of both, or what.  Anyway, here is the URL I start out
>  with:
>
> http://40.163.5.153:920/solr/browse?&fq=Gene_Ontology_Associations%3A%220%2Fbiological_process%28GO%3A0008150%29%22&fq=Gene_Ontology_Associations%3A%221%2Fbiological_process%28GO%3A0008150%29%3Bmetabolic+process%28GO%3A0008152%29%22&fq=Gene_Ontology_Associations%3A%222%2Fbiological_process%28GO%3A0008150%29%3Bmetabolic+process%28GO%3A0008152%29%3Bsteroid+metabolic+process%28GO%3A0008202%29%22&fq=Gene_Ontology_Associations%3A%223%2Fbiological_process%28GO%3A0008150%29%3Bmetabolic+process%28GO%3A0008152%29%3Bsteroid+metabolic+process%28GO%3A0008202%29%3Bcholesterol+metabolic+process%28GO%3A0008203%29%22&fq=Mouse_Phenotype_Associations%3A%220%2Fmammalian+phenotype%28MP%3A0000001%29%22&fq=Mouse_Phenotype_Associations%3A%221%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%22&fq=Mouse_Phenotype_Associations%3A%222%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fme
> tabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%22&fq=Mouse_Phenotype_Associations%3A%223%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%3Babnormal+lipid+homeostasis%28MP%3A0002118%29%22&fq=Mouse_Phenotype_Associations%3A%224%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%3Babnormal+lipid+homeostasis%28MP%3A0002118%29%3Babnormal+cholesterol+homeostasis%28MP%3A0005278%29%22&fq=Mouse_Phenotype_Associations%3A%225%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%3Babnormal+lipid+homeostasis%28MP%3A0002118%29%3Babnormal+cholesterol+homeostasis%28MP%3A0005278%29%3Babnormal+cholesterol+level%28MP%3A0003947%29%22&fq=Mouse_Phenotype_Associations%3A%226%2Fm
> ammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%3Babnormal+lipid+homeostasis%28MP%3A0002118%29%3Babnormal+cholesterol+homeostasis%28MP%3A0005278%29%3Babnormal+cholesterol+level%28MP%3A0003947%29%3Bdecreased+cholesterol+level%28MP%3A0003983%29%22&fq=Mouse_Phenotype_Associations%3A%227%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%3Babnormal+lipid+homeostasis%28MP%3A0002118%29%3Babnormal+cholesterol+homeostasis%28MP%3A0005278%29%3Babnormal+cholesterol+level%28MP%3A0003947%29%3Bdecreased+cholesterol+level%28MP%3A0003983%29%3Bdecreased+liver+cholesterol+level%28MP%3A0010026%29%22&fq=BKL_Diagnostic_Marker_Associations%3A%220%2FCardiovascular+Diseases%28MESH%3AD002318%29%22&fq=BKL_Molecular_Mechanism_Associations%3A%220%2FCardiovascular+Diseases%28MESH%3AD002318%29%22&fq=
> BKL_Diagnostic_Marker_Associations%3A%221%2FCardiovascular+Diseases%28MESH%3AD002318%29%3BArteriosclerosis%28MESH%3AD001161%29%22&q=&fq=BKL_Diagnostic_Marker_Associations:%222%2FCardiovascular+Diseases%28MESH%3AD002318%29%3BArteriosclerosis%28MESH%3AD001161%29%3BAtherosclerosis%28MESH%3AD050197%29%22&f.Gene_Ontology_Associations.facet.prefix=4%2Fbiological_process%28GO%3A0008150%29%3Bmetabolic+process%28GO%3A0008152%29%3Bsteroid+metabolic+process%28GO%3A0008202%29%3Bcholesterol+metabolic+process%28GO%3A0008203%29&f.Mouse_Phenotype_Associations.facet.prefix=8%2Fmammalian+phenotype%28MP%3A0000001%29%3Bhomeostasis%2Fmetabolism+phenotype%28MP%3A0005376%29%3Babnormal+homeostasis%28MP%3A0001764%29%3Babnormal+lipid+homeostasis%28MP%3A0002118%29%3Babnormal+cholesterol+homeostasis%28MP%3A0005278%29%3Babnormal+cholesterol+level%28MP%3A0003947%29%3Bdecreased+cholesterol+level%28MP%3A0003983%29%3Bdecreased+liver+cholesterol+level%28MP%3A0010026%29&a
> mp;f.BKL_Molecular_Mechanism_Associations.facet.prefix=1%2FCardiovascular+Diseases%28MESH%3AD002318%29
>
> The above works fine.  It's basically a bunch of fq= and facet.prefix= 
> parameters.  However, if I add another parameter, shown below, then I will 
> instantly get a totally blank page, and I can't get it to load anything no 
> matter what.  (the parameter itself is fine since it works by itself or with 
> fewer parameters)
>
> &f.BKL_Diagnostic_Marker_Associations.facet.prefix=3%2FCardiovascular+Diseases(MESH%3AD002318)%3BArteriosclerosis(MESH%3AD001161)%3BAtherosclerosis(MESH%3AD050197)
>
> Here's another interesting thing: if I just add the parameter field without 
> any value, as in "&f.BKL_Diagnostic_Marker_Associations.facet.prefix=", then 
> I will get a page of the result, but without any CSS rendering.
>
> Please advise what may be going on here.  Is my query simply too big?  Does 
> Solr have a limit?  Did I break the limit?

Reply via email to