Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Bug
-
8.3
-
None
-
None
Description
When making a query to the facet module with prefix string `null`, the top results are returned.
Here is my request:
/solr/1101541/select?fq=content_type:PARENT&q=:&json.facet=%7bfacet:%7bterms:%7bprefix:null%2cfield:text_en_total%2cmincount:1%2climit:10%7d%7d%7d&rows=0
Here is the response:
{ "responseHeader":{ "zkConnected":true, "status":0, "QTime":44, "params":{ "q":"*:*", "json.facet":"{facet:{terms:{prefix:null,field:text_en_total,mincount:1,limit:10}}}", "fq":"content_type:PARENT", "rows":"0"}}, "response":{"numFound":2661,"start":0,"maxScore":1.0,"docs":[] }, "facets":{ "count":2661, "facet":{ "buckets":[{ "val":"you", "count":2661}, { "val":"i", "count":2659}, { "val":"okay", "count":2640}, { "val":"have", "count":2636}, { "val":"your", "count":2630}, { "val":"can", "count":2610}, { "val":"rogers", "count":2604}, { "val":"name", "count":2590}, { "val":"thank", "count":2588}, { "val":"so", "count":2564}]}}}