On 9/19/06, Yonik Seeley <[EMAIL PROTECTED]> wrote:
The fix would be to use
FieldType.indexedToReadable() to convert the indexed form back to a
readable form.

Oops, that should be storedToReadable since the id is obtained from
the stored fields, not from the index.

Hmmm, a quick look at the code suggests this is already beeing done:

        String printId = searcher.getSchema().printableUniqueKey(doc);
        fragments.add(printId == null ? null : printId, docSummaries);

What you are seeing may be due to indexing documents with one version
of the schema and viewing them with another.  Try deleting the
solr/data/index directory and then reindexing everything.

-Yonik

Reply via email to