On 11/10/2013 10:12 PM, subacini Arunkumar wrote: > We are upgrading from Solr 3.5 to Solr 4.4. The response from 3.5 and 4.4 > are different. I have attached request and response [highlighted the major > difference in RED] > > > Can you please let me know how to change "parsedQuery" from *MatchAllDocsQuery > to text.* > > > *Also, in solr 4.4 if fq or q param has * , we are having this issue. > Otheriwse parsedQuery value is text:<searchStr>*
Your attachment never made it through, because most attachments cannot be sent to the mailing list. Nothing was colored red -- the list doesn't really do HTML email. I can't tell if you're using * for emphasis or whether all asterisks were literally there. I'm going to assume that you aren't trying to emphasize things. Apologies if I'm wrong. I can tell you that q=* is not really a valid query for any version of Solr. If you meant all documents with the standard query parser, use q=*:*, which is a special shortcut for all documents. If you meant all documents with the dismax or edismax query parster, then set q.alt to *:* and either pass an empty q value, or don't include q at all. I'm really confused about what your filter query is supposed to accomplish. Four asterisks, one of which is escaped? I have no idea what that is supposed to do. To go much further, we'll need to know what you are trying to accomplish. We will also need to see the config of your /select handler on both versions, the field name(s) that you are trying to search, as well as info from schema.xml about the field(s) and any related fieldType settings. Thanks, Shawn