Hi David,
I am facing some problem. I am getting the empty response. Not sure what
would have went wrong. But there is a matching data in the object. Please
advice
This is my query string
{
"query" : {
"simple_query_string" : {
"query" : "new year",
"fields" : [ "symptomField", "keywordsField" ]
}
}
}
This is my search response
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" :
}
}
Thanks,
Vijaya
On Thu, Nov 20, 2014 at 1:19 PM, David Pilato david@pilato.fr wrote:
Sorry. I don't understand the first question. May be you could post links
to the source code?
About "where the clusters", probably on localhost:9300.
https://github.com/dadoonet/legacy-search/blob/01-direct/src/main/webapp/WEB-INF/person-dao-context.xml#L54
David
Le 20 nov. 2014 à 08:29, Vijayakumari B N vijayakumari.bn@gmail.com a
écrit :
Hi David,
I have a small inquiry on Person.References and its it is also bean
used on Json.References is it just used for Unique identity or does the
Elasticsearch engine looks for references? and also where the clusters are
been used in branch - 01 code. I am sorry i could not find it, but one is
declared in one of the property file.
Thanks,
Vijaya
On Wed, Nov 19, 2014 at 6:32 PM, David Pilato david@pilato.fr wrote:
Sure. You don't need Spring. Can be replaced easily with code you wrote.
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 19 nov. 2014 à 13:29, Vijayakumari B N vijayakumari.bn@gmail.com a
écrit :
David,
Looks like some Elasticsearch xsds are missing in
http://www.pilato.fr/schema/elasticsearch . Can i replace
<elasticsearch:client id="esClient" esNodes="127.0.0.1:9300"
properties="esproperties"/>
with below piece of code
Client esClient = new TransportClient().addTransportAddress(new InetSocketTransportAddress("127.0.0.1", 9300));
return new ElasticsearchTemplate(client);
Thanks,
Vijaya
On Wed, Nov 19, 2014 at 5:33 PM, David Pilato david@pilato.fr wrote:
Well branch 01 is fine. You can start from here:
https://github.com/dadoonet/legacy-search/blob/01-direct/src/main/java/fr/pilato/demo/legacysearch/service/PersonService.java#L40
David
Le 19 nov. 2014 à 09:50, Vijayakumari B N vijayakumari.bn@gmail.com a
écrit :
David,
There are couple of branches, which branch should i use. Each branch has
new functionality added to it and for my requirement to change the index
and as and when we persist/delete or update data in table. Can i refer to
Branch bulk-02 or if i am in the wrong branch please advice the right one.
Thanks,
Vijaya
On Wed, Nov 19, 2014 at 1:52 PM, Vijayakumari B N <
vijayakumari.bn@gmail.com> wrote:
Nope.. I will check it.. Thanks...
On 19 Nov 2014 13:43, "David Pilato" david@pilato.fr wrote:
Did you click on the link in the README file and navigated in branches
as I wrote?
--
David Pilato | Technical Advocate | Elasticsearch.com
http://Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
https://twitter.com/scrutmydocs
Le 19 nov. 2014 à 08:34, Vijayakumari B N vijayakumari.bn@gmail.com
a écrit :
Hi David,
Thanks for your reply.
I dont find any code samples in the link you shared me. Can you please
share something which helps me to implement.
Thanks in advance.
Thanks,
Vijaya
On Wed, Nov 19, 2014 at 12:48 PM, David Pilato david@pilato.fr
wrote:
My advice would be to send your bean to elasticsearch as soon as you
merge/save it with Hibernate. Same when deleting.
To do that, just use Jackson to transform your beans to JSON.
I have a full demo here: GitHub - dadoonet/legacy-search: Demo project showing how to add elasticsearch to a legacy application.
Just navigate in branches.
HTH
David
Le 19 nov. 2014 à 05:49, Vijayakumari B N vijayakumari.bn@gmail.com
a écrit :
Hi,
I am looking for full text Elasticsearch where in it searches the
text in particular column of a database (Hibernate Persistence layer) and
does indexing and caching of data. Please give me some inputs on how to
start with this.?
Regards,
Vijaya
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9e29aee6-5bd0-45a8-8480-e105065d6229%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9e29aee6-5bd0-45a8-8480-e105065d6229%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in
the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/vuJ4sGn7P6k/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6E14E688-555D-429D-B702-5C50FC13B2A6%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/6E14E688-555D-429D-B702-5C50FC13B2A6%40pilato.fr?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7e1AX3%3DQ8Ypd4n1De9S6v%3D%3D2umGbP%2B%2B5LxPG1GuKBPOzA%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7e1AX3%3DQ8Ypd4n1De9S6v%3D%3D2umGbP%2B%2B5LxPG1GuKBPOzA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/vuJ4sGn7P6k/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8696C12E-9C5E-49CF-81C8-448DAAC5105F%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/8696C12E-9C5E-49CF-81C8-448DAAC5105F%40pilato.fr?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7emNY0_EbdiXUNepNh%3D0%2B393e%3DsHWHuXUf0DwuhS7feBg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7emNY0_EbdiXUNepNh%3D0%2B393e%3DsHWHuXUf0DwuhS7feBg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/vuJ4sGn7P6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/36A6ECCF-1A0D-444C-ADD8-112336A2EEC4%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/36A6ECCF-1A0D-444C-ADD8-112336A2EEC4%40pilato.fr?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7cXz7ifNre6xjj1aHGVXhhRrfGrm8jwCqtxn2%2B6U5QF_Q%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7cXz7ifNre6xjj1aHGVXhhRrfGrm8jwCqtxn2%2B6U5QF_Q%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/vuJ4sGn7P6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7A92B502-5BF2-4465-9C1C-06B6485C1E57%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/7A92B502-5BF2-4465-9C1C-06B6485C1E57%40pilato.fr?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7cHo947XENJVoy8NY66zOQCssHb9AqV-McddC8M1%3D4Uww%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAGpUk7cHo947XENJVoy8NY66zOQCssHb9AqV-McddC8M1%3D4Uww%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/vuJ4sGn7P6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/E866410F-7D16-4910-8257-F042BE3CE1BE%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/E866410F-7D16-4910-8257-F042BE3CE1BE%40pilato.fr?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGpUk7cX%2BSWHtM3nRjcPQX2J7HteZxs6v0Ktq-TQ2PBjogh64Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.