rahul_k123 wrote:
The data was indexed using 2.3.1 as follows

 doc.add(new Field(Fields.DETAILS, byte[] bytes,
            Field.Store.YES));

When i reindex this particular item using 2.4 and when i try to retrive it,
it works fine.

Then for the items which were indexed using 2.3.1 and not reindexed using
2.4

the following call

doc.getBinaryValue(Fields.DETAILS)

is returning null.

Is it returning null or byte[] with length of 0?

So, except for the documents which were reindexed using 2.4 the search is
failing.



One more thing when i didn't reindex any of the documents using 2.4 , the
search worked fine using 2.4.


Any ideas why this is happening.

No idea - but perhaps this is somehow related: https://issues.apache.org/jira/browse/LUCENE-1452

--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to