lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingfeng Yang <>
Subject Re: Read an solr index with two different lucene formats
Date Fri, 14 Jun 2013 23:14:49 GMT

I did in two ways.  The first is the 1) in your list,  q=date:*  match

And all fields are stored in the index.  I got a doc id (say 3315), do
q=id:3315, the output contain the datefield and value.

Anyway, I am 100% sure every doc has a date field and value indexed and
stored there.  It's just I can't read the value from some documents.


On Fri, Jun 14, 2013 at 4:05 PM, Chris Hostetter

> : I used solr to query the index, and verified that each document does
> have a
> : non-blank date field.  I suspect that it's because the lucene-3.6 api I
> am
> : using can not read datefield correctly from documents written in lucene
> 1.4
> : format.
> how did you verify that they all have a non-blank value?
> my wild short in the dark guess here...
> 1) you are "verifying" that every doc has a value in the date field by
> using something like q=date:[* TO *] and looking at the numfound and it
> matches q=*:*
> 2) at some point your date field was indexed but not stored, and a large
> number of documnts were added during this time.
> 3) so now all of your documents have an *indexed* value for the date
> field, but many of them have no *stored* value for the date field.
> -Hoss
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message