Fast checking on integer values?


#1

hi,
i have a document structure:
{
category_id : "1"
description: "Long descriptions etc. etc. "
}

When searching, i want to only search across specific category_id's, like :

category_id = 1 && description = "some text"

are there any optimization techniques to do fast checking with multiple conditions or does elastic do that on its own?

In other words, can i create sort of an index on category_id column like in a database so that itll be faster when searching?

thanks!


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.