You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Fuad Efendi <fu...@efendi.ca> on 2012/08/24 19:52:13 UTC

Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Hi there,

"Load term Info" shows 3650 for a specific term "MyTerm", and when I execute
query "channel:MyTerm" it shows 650 documents foundŠ possibly bugŠ it
happens after I commit data too, nothing changes; and this field is
single-valued non-tokenized string.

-Fuad

-- 
Fuad Efendi
416-993-2060
http://www.tokenizer.ca




Re: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Posted by Lance Norskog <go...@gmail.com>.
The index directory will include files which list deleted documents.
(I do not remember the suffix.)

If you do not like this behavior, you can add 'expunge deletes' to
your commit requests.

On Sat, Aug 25, 2012 at 10:27 AM, Ryan McKinley <ry...@gmail.com> wrote:
> If you optimize the index, are the results the same?
>
> maybe it is showing counts for deleted docs (i think it does... and
> this is expected)
>
> ryan
>
>
> On Sat, Aug 25, 2012 at 9:57 AM, Fuad Efendi <fu...@efendi.ca> wrote:
>>
>> This is bug in Solr 4.0.0-Beta Schema Browser: "Load Term Info" shows "9682
>> News", but direct query shows 3577.
>>
>> /solr/core0/select?q=channel:News&facet=true&facet.field=channel&rows=0
>>
>> <response>
>>         <lst name="responseHeader">
>>                 <int name="status">0</int>
>>                 <int name="QTime">1</int>
>>                 <lst name="params">
>>                         <str name="facet">true</str>
>>                         <str name="q">channel:News</str>
>>                         <str name="facet.field">channel</str>
>>                         <str name="rows">0</str>
>>                 </lst>
>>         </lst>
>>         <result name="response" numFound="3577" start="0"/>
>>         <lst name="facet_counts">
>>                 <lst name="facet_queries"/>
>>                 <lst name="facet_fields">
>>                         <lst name="channel">
>>                                 <int name="News">3577</int>
>>                                 <int name="Blogs">0</int>
>>                                 <int name="Message Boards">0</int>
>>                                 <int name="Video">0</int>
>>                         </lst>
>>                 </lst>
>>                 <lst name="facet_dates"/>
>>                 <lst name="facet_ranges"/>
>>         </lst>
>> </response>
>>
>>
>> -----Original Message-----
>> Sent: August-24-12 11:29 PM
>> To: solr-user@lucene.apache.org
>> Cc: sole-dev@lucene.apache.org
>> Subject: RE: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser
>> Importance: High
>>
>> Any news?
>> CC: Dev
>>
>>
>> -----Original Message-----
>> Subject: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser
>>
>> Hi there,
>>
>> "Load term Info" shows 3650 for a specific term "MyTerm", and when I execute
>> query "channel:MyTerm" it shows 650 documents foundŠ possibly bugŠ it
>> happens after I commit data too, nothing changes; and this field is
>> single-valued non-tokenized string.
>>
>> -Fuad
>>
>> --
>> Fuad Efendi
>> 416-993-2060
>> http://www.tokenizer.ca
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>



-- 
Lance Norskog
goksron@gmail.com

Re: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Posted by Ryan McKinley <ry...@gmail.com>.
If you optimize the index, are the results the same?

maybe it is showing counts for deleted docs (i think it does... and
this is expected)

ryan


On Sat, Aug 25, 2012 at 9:57 AM, Fuad Efendi <fu...@efendi.ca> wrote:
>
> This is bug in Solr 4.0.0-Beta Schema Browser: "Load Term Info" shows "9682
> News", but direct query shows 3577.
>
> /solr/core0/select?q=channel:News&facet=true&facet.field=channel&rows=0
>
> <response>
>         <lst name="responseHeader">
>                 <int name="status">0</int>
>                 <int name="QTime">1</int>
>                 <lst name="params">
>                         <str name="facet">true</str>
>                         <str name="q">channel:News</str>
>                         <str name="facet.field">channel</str>
>                         <str name="rows">0</str>
>                 </lst>
>         </lst>
>         <result name="response" numFound="3577" start="0"/>
>         <lst name="facet_counts">
>                 <lst name="facet_queries"/>
>                 <lst name="facet_fields">
>                         <lst name="channel">
>                                 <int name="News">3577</int>
>                                 <int name="Blogs">0</int>
>                                 <int name="Message Boards">0</int>
>                                 <int name="Video">0</int>
>                         </lst>
>                 </lst>
>                 <lst name="facet_dates"/>
>                 <lst name="facet_ranges"/>
>         </lst>
> </response>
>
>
> -----Original Message-----
> Sent: August-24-12 11:29 PM
> To: solr-user@lucene.apache.org
> Cc: sole-dev@lucene.apache.org
> Subject: RE: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser
> Importance: High
>
> Any news?
> CC: Dev
>
>
> -----Original Message-----
> Subject: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser
>
> Hi there,
>
> "Load term Info" shows 3650 for a specific term "MyTerm", and when I execute
> query "channel:MyTerm" it shows 650 documents foundŠ possibly bugŠ it
> happens after I commit data too, nothing changes; and this field is
> single-valued non-tokenized string.
>
> -Fuad
>
> --
> Fuad Efendi
> 416-993-2060
> http://www.tokenizer.ca
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

RE: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Posted by Fuad Efendi <fu...@efendi.ca>.
This is bug in Solr 4.0.0-Beta Schema Browser: "Load Term Info" shows "9682
News", but direct query shows 3577.

/solr/core0/select?q=channel:News&facet=true&facet.field=channel&rows=0

<response>
	<lst name="responseHeader">
		<int name="status">0</int>
		<int name="QTime">1</int>
		<lst name="params">
			<str name="facet">true</str>
			<str name="q">channel:News</str>
			<str name="facet.field">channel</str>
			<str name="rows">0</str>
		</lst>
	</lst>
	<result name="response" numFound="3577" start="0"/>
	<lst name="facet_counts">
		<lst name="facet_queries"/>
		<lst name="facet_fields">
			<lst name="channel">
				<int name="News">3577</int>
				<int name="Blogs">0</int>
				<int name="Message Boards">0</int>
				<int name="Video">0</int>
			</lst>
		</lst>
		<lst name="facet_dates"/>
		<lst name="facet_ranges"/>
	</lst>
</response> 


-----Original Message-----
Sent: August-24-12 11:29 PM
To: solr-user@lucene.apache.org
Cc: sole-dev@lucene.apache.org
Subject: RE: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser
Importance: High

Any news? 
CC: Dev


-----Original Message-----
Subject: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Hi there,

"Load term Info" shows 3650 for a specific term "MyTerm", and when I execute
query "channel:MyTerm" it shows 650 documents foundŠ possibly bugŠ it
happens after I commit data too, nothing changes; and this field is
single-valued non-tokenized string.

-Fuad

--
Fuad Efendi
416-993-2060
http://www.tokenizer.ca





RE: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Posted by Fuad Efendi <fu...@efendi.ca>.
Any news? 
CC: Dev


-----Original Message-----
Subject: Solr-4.0.0-Beta Bug with "Load Term Info" in Schema Browser

Hi there,

"Load term Info" shows 3650 for a specific term "MyTerm", and when I execute
query "channel:MyTerm" it shows 650 documents foundŠ possibly bugŠ it
happens after I commit data too, nothing changes; and this field is
single-valued non-tokenized string.

-Fuad

--
Fuad Efendi
416-993-2060
http://www.tokenizer.ca