A few quick questions about DocValues:

1. If only small number of documents have a ShortDocValueField defined,
should each document in the index has this field filled with some value?
The add() function of Document seems not enforce a DocValues field is
always added to each document.

2. Is there any examples to show how DocValues are stored and retrieved? It
seems JavaDoc only shows how to add it, and no complete examples are out
there.

Thanks in advance,
Wei

Reply via email to