lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahul_k123 <vishnudee...@gmail.com>
Subject Document.getBinaryValue returning null after upgrading to 2.4 for the data which was indexed using 2.3.1
Date Tue, 16 Dec 2008 20:14:32 GMT

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.


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.
-- 
View this message in context: http://www.nabble.com/Document.getBinaryValue-returning-null-after-upgrading-to-2.4-for-the-data-which-was-indexed-using-2.3.1-tp21040857p21040857.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Mime
View raw message