13:25 < mikeliss:#solr> Hi, I'm running into an error with maxbooleanclauses when I try to do a range query with
highlighting...is there any workaround for this? Would really appreciate some direction, if
13:26 < mikeliss:#solr> This is the query that dies:
13:28 < hoss:#solr> that query doesn't make sense ... for a couple of reasons ... what are you *trying* to do?
13:29 < hoss:#solr> i mena ... for starters ... there is no range query there. second, q=* is a big red flag: it's
a prefix query on the default field using the prefix "" (ie: the empty string)
14:23 < mikeliss:#solr> hoss, yeah, I assumed that highlighting would just do nothing if a prefix query were given
on an empty string.
14:24 < mikeliss:#solr> hoss, I added a check in my code that will only enable highlighting if the query isn't '*'.
14:24 < mikeliss:#solr> hoss, Seems naive, but it's working at least for the moment.
14:27 < hoss:#solr> i think you're missing my point: q=* is a fairly non-sensical query ... you should't just
prevent highlighting on that query, you should stop doing that query in the first place
14:28 < hoss:#solr> as a query solr can handle it, and optimize it to be efficient
14:28 < hoss:#solr> (evenn though it's silly)
14:28 < mikeliss:#solr> hoss, I'm using that query on my homepage to show the latest documents in the index. It
should just return everything, right?
14:28 < hoss:#solr> but for highlighting, the highlighter actually needs to know all the terms it matches
14:28 < hoss:#solr> and to konw al lthe terms it matches, it needs to look at *ALL* the terms in the default field
14:29 < hoss:#solr> mikeliss: no, no, NO ... i'm not sure where people started getting the missconception that
"q=*" matches all docs, but that is *NOT* what it does
14:29 < hoss:#solr> one second...
14:30 < hoss:#solr> mikeliss:
14:30 < hoss:#solr> ...and...
14:30 < hoss:#solr> https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201112.mbox/%3Calpine.DEB.2.00.1112131115550.16571@bester%3E
14:32 < mikeliss:#solr> hoss, ah, that makes sense. I guess * is just too tempting, since it is something users can
14:34 < mikeliss:#solr> hoss, back to my original issue, now I'm confused why hl fails on a search for *. Shouldn't
it just highlight nothing, and return results? I wasn't able to get debugging to work for
the query, so I'm a bit confused..
14:35 < hoss:#solr> see my other comment above: the highlighter is trying to find all the terms used in the query
to highlight them -- a query for "*" matches all terms in the default field, which is way more
then the highlighter can handle (hence the exception)
14:38 < hoss:#solr> i'm filing a bug to change the beahvior of "q=*" ... do you mind if i cut/paste this dialog
into the jira issue as an example of user confusion?
14:39 < mikeliss:#solr> Not at all. I was wondering if that was potentially a bug...figured I'd leave it to the