I am attempting to write some code for removing or adding DocValues for
an existing Lucene index: https://github.com/netarchivesuite/dvenabler
I have a proof of concept running, but it is not very user friendly.

Ideally the user should be presented with a list of fields and simply
select which ones should have DocValues. However, in order to do so, I
need to determine is a NumericField was indexed as INT, LONG, FLOAT or
DOUBLE.

That information is present in FieldType at index time, but I cannot
figure out if it is possible to extract it from an existing index?
If it not possible to determine with certainty, I could use a way of
performing a best-guess.

On a similar note, does Lucene have a concept of single and multi-value
stored fields or do I have to infer that by iterating all the documents
and check each one?

- Toke Eskildsen, State and University Library, Denmark



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to