Shawn, Giving content:[* TO *] gives the same error but when I give content:[a TO z] it works fine. Can you please explain what does it mean when I give content:[a TO z]? Can I use this as workaround? The datatype of content field is text_en.
Thanks again for you replies and suggestions. Regards, Sawan From: Shawn Heisey-4 [via Lucene] [mailto:ml-node+s472066n4057074...@n3.nabble.com] Sent: Friday, April 19, 2013 12:33 AM To: Sawan Verma Subject: Re: TooManyClauses: maxClauseCount is set to 1024 On 4/18/2013 11:53 AM, sawanverma wrote: > Shawn, > > Thanks a lot for your reply. But I am confused again if the following query > is complex. > http://localhost:8983/solr/test/select/?q=content:*&fl=content&hl=true&hl.fl=content&hl.maxAnalyzedChars=31375&start=64&rows=1&sort=obs_date%20desc I hardly know anything about highlighting, so nothing that I say here may have any relevance to your situtation at all. A query of content:* strikes me as an invalid query. If you are shooting for all documents where content exists and excluding those where it doesn't exist, I would think that 'q=content:[* TO *]' (the TO must be uppercase) would be a better option. Exactly how your query gets expanded into a something that exceeds maxBooleanClauses is a complete mystery to me, and probably does have something to do with the highlighting. Thanks, Shawn ________________________________ If you reply to this email, your message will be added to the discussion below: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4057074.html To unsubscribe from TooManyClauses: maxClauseCount is set to 1024, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4056965&code=c2F3YW4udmVybWFAZ2xhc3NiZWFtLmNvbXw0MDU2OTY1fC0xMTI5MDQ2NDY1>. NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://lucene.472066.n3.nabble.com/TooManyClauses-maxClauseCount-is-set-to-1024-tp4056965p4057181.html Sent from the Solr - User mailing list archive at Nabble.com.