Organizational Research By

Surprising Reserch Topic

Indexing and searching lists of data in elasticsearch

I'm trying to figure out how to use elasticsearch to index and search a bunch of lists. My current set-up is as follows:

var item1 = { "title" : "The Great Gatsby" };
var item2 = { "title" : "Ender's game" }
var item3 = { "title" : "The name of the wind" }

var itemList1 = [item1, item2];
var itemList2 = [item2, item3];
var itemList3 = [item3, item1];

Is there a way to index my lists? Cause an item can belong to multiple lists and has no reference to what lists it belongs.

The ultimate goal is to find items with the word "great" in its title in itemList3.

asked Apr 15, 2015 in Elasticsearch-php by rajesh
0 votes

Related Hot Questions

1 Answer

0 votes
answered Apr 15, 2015 by rajesh