Hi, wanted to make sure I'm implementing sort in an efficient way...

I need to allow users to sort by documents' title field. A title can
contain 1-20 words.
Title examples: "new project meeting minutes - Oct 2015 - new chance on the
horizon" or "how to create a wonderful presentation".

I'm already indexing title as a TextField, and I not comfortable with
indexing it again as an extra StrField field I'll need plus the extra
FieldCache memory.
I can probably avoid the FieldCache by using docValues to reduce mem usage.

*But... is there a more efficient way to provide this sort? perhaps
something that takes advantage of title field is a chain of words with
whitespaces between words?*

My index is 100's of millions of documents over 8 shards.

Thanks.

Reply via email to