Closed sasikanth513 closed 10 years ago
Moved the search to server side, working fine now
var res=EasySearch.search('videoSearch',query,{});
Just as a little reminder, it's important that you call createSearchIndex
on both the server and the client, so that you can also use the blaze components / Javascript API on the client.
As said in my question, I've created searchIndex in commoncode
app\lib\collection.js
Anyway, Thanks for the suggestion
Oh, did not interpret that correctly then. Does your code still not work on the client?
I've created a search index in common code
and in the client side template helper I'm calling this index by
I've started the elastic search service and in the server side(terminal) I'm getting the following error
what is the issue with this, anyone has idea?