RE: query all filled field?

2010-02-04 Thread Ahmet Arslan
> I've analyzed my index application > and checked the XML before executing the http request and > the field it's empty: > > > > It should be empty on SOLR. > > Probably something in the way between my application (.NET) > and the SOLR (Jetty on Ubuntu) adds the whitespace. > > Anyway, I'll t

RE: query all filled field?

2010-02-04 Thread Frederico Azeiteiro
ereiro de 2010 17:22 To: solr-user@lucene.apache.org Subject: RE: query all filled field? > XML update. I'm serializing the doc > in .NET, and then using solsharp to > insert/update the doc to SOLR. > > The result is: > > >     > > > Dows this means I&

Re: query all filled field?

2010-02-04 Thread Erik Hatcher
Fevereiro de 2010 11:48 To: solr-user@lucene.apache.org Subject: Re: query all filled field? Is it possible to query some field in order to get only not empty documents? All documents where field x is filled? Yes. q=x:[* TO *] will bring documents that has non-empty x field. -- Lance Norskog goks...@gmail.com

RE: query all filled field?

2010-02-04 Thread Ahmet Arslan
> XML update. I'm serializing the doc > in .NET, and then using solsharp to > insert/update the doc to SOLR. > > The result is: > > >     > > > Dows this means I'm adding a whitespace on XML Update? Yes exactly. You can remove from your ... if value of fieldX.trim() is equal to ""

RE: query all filled field?

2010-02-04 Thread Frederico Azeiteiro
eira, 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

RE: query all filled field?

2010-02-04 Thread Ahmet Arslan
> 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 t

RE: query all filled field?

2010-02-04 Thread Frederico Azeiteiro
to:abhatna...@vantage.com] Sent: quinta-feira, 4 de Fevereiro de 2010 14:56 To: 'solr-user@lucene.apache.org' Subject: RE: query all filled field? That's correct. If u want to find "Missing Values" ie fields for whom value is not present then u will use - Ankit -Origi

RE: query all filled field?

2010-02-04 Thread Ankit Bhatnagar
That's correct. If u want to find "Missing Values" ie fields for whom value is not present then u will use - Ankit -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Thursday, February 04, 2010 9:41 AM To: solr-user@lucene.apache.org Subject: RE: q

RE: query all filled field?

2010-02-04 Thread Ahmet Arslan
> *:* AND -fieldX:[* TO *] - returns 0 docs > > fieldX:(a*) - return docs, so I'm sure that there's docs > with this field filled. > > Any other ideias what could be wrong? There is not wrong in this scenario. If -fieldX:[* TO *] returns 0 docs, it means that all of your documents have that f

Re: query all filled field?

2010-02-04 Thread Mark Miller
wonder if someone has tried this before with success? >> >> The field is indexed as string, indexed=true and stored=true. >> >> Thanks, >> Frederico >> >> -----Original Message- >> From: Ahmet Arslan [mailto:iori...@yahoo.com] >> Sent: quarta-

RE: query all filled field?

2010-02-04 Thread Frederico Azeiteiro
are really all docs with field not empty? Thanks again, Frederico -Original Message- From: Frederico Azeiteiro [mailto:frederico.azeite...@cision.com] Sent: quinta-feira, 4 de Fevereiro de 2010 10:55 To: solr-user@lucene.apache.org Subject: RE: query all filled field? Thanks, bu

RE: query all filled field?

2010-02-04 Thread Frederico Azeiteiro
com] Sent: quinta-feira, 4 de Fevereiro de 2010 05:38 To: solr-user@lucene.apache.org Subject: Re: query all filled field? Queries that start with minus or NOT don't work. You have to do this: *:* AND -fieldX:[* TO *] On Wed, Feb 3, 2010 at 5:04 AM, Frederico Azeiteiro wrote: > Hum, str

Re: query all filled field?

2010-02-03 Thread Lance Norskog
gt; The field is indexed as string, indexed=true and stored=true. > > Thanks, > Frederico > > -Original Message- > From: Ahmet Arslan [mailto:iori...@yahoo.com] > Sent: quarta-feira, 3 de Fevereiro de 2010 11:48 > To: solr-user@lucene.apache.org > Subject:

RE: query all filled field?

2010-02-03 Thread Frederico Azeiteiro
esults at all. I wonder if someone has tried this before with success? The field is indexed as string, indexed=true and stored=true. Thanks, Frederico -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: quarta-feira, 3 de Fevereiro de 2010 11:48 To: solr-user@lucene.a

Re: query all filled field?

2010-02-03 Thread Ahmet Arslan
> Is it possible to query some field in order to get only not > empty > documents? > > > > All documents where field x is filled? Yes. q=x:[* TO *] will bring documents that has non-empty x field.

RE: query all filled field?

2010-02-03 Thread Frederico Azeiteiro
Fevereiro de 2010 11:34 To: solr-user@lucene.apache.org Subject: query all filled field? Hi all, Is it possible to query some field in order to get only not empty documents? All documents where field x is filled? Thanks, Frederico

query all filled field?

2010-02-03 Thread Frederico Azeiteiro
Hi all, Is it possible to query some field in order to get only not empty documents? All documents where field x is filled? Thanks, Frederico