Indexing Criteria



I am working with twitter streaming api. and am a little confused about deciding the criteria for indexing the data. Right now I have a single index that contains all the tweets in one doc_type and users in another doc type.

Is it the best way to go about storing them or should i create a new doc type for every category (category can be decided on basis of hashtag and tweet content)

What should be the best approach to storing such data?

Thanks in advance.

(Mark Walkom) #2

What are you trying to achieve, is probably the better question to be asking.

(system) #3