First of all i must say that ES looks pretty good.
After that, i should say that I'm new in search engines so do blame my due
to my silly questions.
I have configured my Domain Class called (News) using searchable = true.
Data seems to be indexed and when I do a search it retreives 50 results,
but the 'searchResults' variable is totally empty. How can this be
possible, maybe because of the low score of the search?If that is the case,
how can I improve the score and the search.
I have tried to find the solution to this "issue" but I had no luck.
On Sunday, September 23, 2012 2:20:20 AM UTC+2, Alejandro Asensio wrote:
First of all i must say that ES looks pretty good.
After that, i should say that I'm new in search engines so do blame my due
to my silly questions.
I have configured my Domain Class called (News) using searchable = true.
Data seems to be indexed and when I do a search it retreives 50 results,
but the 'searchResults' variable is totally empty. How can this be
possible, maybe because of the low score of the search?If that is the case,
how can I improve the score and the search.
I have tried to find the solution to this "issue" but I had no luck.
On Sunday, September 23, 2012 2:20:20 AM UTC+2, Alejandro Asensio wrote:
First of all i must say that ES looks pretty good.
After that, i should say that I'm new in search engines so do blame my
due to my silly questions.
I have configured my Domain Class called (News) using searchable = true.
Data seems to be indexed and when I do a search it retreives 50 results,
but the 'searchResults' variable is totally empty. How can this be
possible, maybe because of the low score of the search?If that is the case,
how can I improve the score and the search.
I have tried to find the solution to this "issue" but I had no luck.
I don't know why my answer was deleted,
but the following worked for me. I had the same problem.
def params =[:]
String indices = "newsindex" // path to your package
params.indices = indices
String types = "addresses.News" // full class name
params.types = types
def res = elasticSearchService.search("*",params)
Greetings
Am Sonntag, 23. September 2012 02:25:51 UTC+2 schrieb Alejandro Asensio:
On Sunday, September 23, 2012 2:20:20 AM UTC+2, Alejandro Asensio wrote:
First of all i must say that ES looks pretty good.
After that, i should say that I'm new in search engines so do blame my
due to my silly questions.
I have configured my Domain Class called (News) using searchable = true.
Data seems to be indexed and when I do a search it retreives 50 results,
but the 'searchResults' variable is totally empty. How can this be
possible, maybe because of the low score of the search?If that is the case,
how can I improve the score and the search.
I have tried to find the solution to this "issue" but I had no luck.
I am using ES in grails. I have implemented ES plugin in grails PlugIn with
out fail. I was wright some statement in controller like
Code :
params.query="i like to add messages"
def resultsTweets = Tweet.search("message:${params.query}")
println"resultsTweets##### "+resultsTweets
This Statement is giving some result. but i unable to use more parameter in
this search. How I use more search criteria for get the result from ES.
please help me
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.