lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "梦在远方" <chinaman...@qq.com>
Subject 回复: query action with wrong result size zero
Date Fri, 06 May 2016 05:58:29 GMT
thank you ,Jay Potharaju


I got a discover, in the same one solr core , i put two kinds of docs, which means that they
does not have the same fields, does this means that different kinds of docs can not be put
into the same solr core?


thanks!
----------------
max mi




------------------ 原始邮件 ------------------
发件人: "Erick Erickson";<erickerickson@gmail.com>;
发送时间: 2016年5月6日(星期五) 中午12:14
收件人: "solr-user"<solr-user@lucene.apache.org>; 

主题: Re: query action with wrong result size zero



Please show us:
1> a sample doc that you expect to be returned
2> the results of adding '&debug=query' to the URL
3> the schema definition for the field you're querying against.

It is likely that your query isn't quite what you think it is, is going
against a different field than you think or your schema isn't
quite doing what you think...

On Thu, May 5, 2016 at 9:40 AM, Jay Potharaju <jspotharaju@gmail.com> wrote:
> Can you check if the field you are searching on is case sensitive? You can
> quickly test it by copying the exact contents of the brand field into your
> query and comparing it against the query you have posted above.
>
> On Thu, May 5, 2016 at 8:57 AM, mixiangliu <852262475@qq.com> wrote:
>
>>
>> i found a strange thing  with solr query,when i set the value of query
>> field like "brand:amd",the  size of query result is zero,but the real data
>> is not zero,can  some body tell me why,thank you very much!!
>> my english is not very good,wish some body understand my words!
>>
>
>
>
> --
> Thanks
> Jay Potharaju
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message