XML update. I'm serializing the doc in .NET, and then using solsharp to
insert/update the doc to SOLR.

The result is:

<doc>
        <str name="fieldX"/>
</doc>

Dows this means I'm adding a whitespace on XML Update?

Frederico


-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com] 
Sent: quinta-feira, 4 de Fevereiro de 2010 16:26
To: solr-user@lucene.apache.org
Subject: RE: query all filled field?


> Theoretically yes,it's correct, but i
> have about 1/10 of the docs with
> this field not empty and the rest is empty.
> 
> Most of the articles have the field empty as I can see when
> query *:*.

How are you adding documents to solr? xml update, DIH?

Probably you are adding whitespace value to that field.

When you query q=*:*&fl=fieldX  what do you see?
Do you see 

<doc>
<str name="fieldX"></str>
</doc>

or 
<doc>
</doc>



      

Reply via email to