You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Chellasamy G <ch...@zohocorp.com> on 2017/10/12 12:53:32 UTC

Difference between SortedDocValues and SortedSetDocValues

Hi,



Could anyone please explain the difference between  SortedDocValues and SortedSetDocValues. 

Is any one among them efficient than the other? Any use-case where each class can be used would be much helpful.



Thanks in advance.





-Satyan




Re: Difference between SortedDocValues and SortedSetDocValues

Posted by Yonik Seeley <ys...@gmail.com>.
On Thu, Oct 12, 2017 at 8:53 AM, Chellasamy G <ch...@zohocorp.com> wrote:
> Could anyone please explain the difference between  SortedDocValues and SortedSetDocValues.

SortedDocValues has at most 1 value per document (single-valued).
SortedSetDocValues supports a set of values per document
(multi-valued).

-Yonik

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