Ahhh, ignore my blather, I need more coffee. Somehow I was thinking
about something else.

Best
Erick

On Fri, Dec 17, 2010 at 8:16 AM, Erick Erickson <erickerick...@gmail.com>wrote:

> Let's back up a bit here. What is the field definition for the field you're
> doing the range query on? i.e. [1 TO *]? And what are you trying
> to accomplish with that clause (that is, all non-zero documents?
> all documents? Do you have counts < 1?).
>
> What version of Solr are you using?
>
> You'll also gain insights by stripping away all the other stuff and
> concentrating
> on one thing at a time. I suspect that you're using one of the field
> types that isn't very good  with range queries and that query-time
> expansion is blowing the max boolean clauses limit. Try your
> query with &debugQuery=on and a smaller range, say [1 TO 10].
> I suspect you'll see 10 OR clauses.
>
> But I've been very wrong before <G>...
>
> Best
> Erick
>
> On Fri, Dec 17, 2010 at 3:06 AM, Qi Ouyang <alphaouy...@gmail.com> wrote:
>
>> Now I think that hl.requireFieldMatch=false is a problem, because
>> there is no meaning to match query string of "kcmeta/view/count" to
>> the high-light field "title" and "body". To support for full-text
>> query field search matching high-light fields, I think it's better to
>> add same query condition on "title" and "body".
>> Ex. original query  content:"book"
>>      convert to  query : content:"book" OR title:"book" OR body:"book"
>> By using this query, I think it is possible to highlight "title" and
>> "body" by the query on "content".
>>
>> Thank for your suggestion.
>>
>> Ouyang
>>
>> https://sites.google.com/a/spectrum.co.jp/openinsight/
>>
>
>

Reply via email to