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 <[email protected]> a écrit > : > > David, > > Looks like some elastic search 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 <[email protected]> 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 <[email protected]> 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 >>>> <[email protected]> wrote: >>>> Nope.. I will check it.. Thanks... >>>> >>>>> On 19 Nov 2014 13:43, "David Pilato" <[email protected]> wrote: >>>>> Did you click on the link in the README file and navigated in branches as >>>>> I wrote? >>>>> >>>>> -- >>>>> David Pilato | Technical Advocate | Elasticsearch.com >>>>> @dadoonet | @elasticsearchfr | @scrutmydocs >>>>> >>>>> >>>>> >>>>>> Le 19 nov. 2014 à 08:34, Vijayakumari B N <[email protected]> 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 <[email protected]> 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: https://github.com/dadoonet/legacy-search >>>>>>> Just navigate in branches. >>>>>>> >>>>>>> HTH >>>>>>> >>>>>>> David >>>>>>> >>>>>>>> Le 19 nov. 2014 à 05:49, Vijayakumari B N <[email protected]> >>>>>>>> a écrit : >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I am looking for full text elastic search 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 [email protected]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/elasticsearch/9e29aee6-5bd0-45a8-8480-e105065d6229%40googlegroups.com. >>>>>>>> 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 >>>>>>> [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/elasticsearch/6E14E688-555D-429D-B702-5C50FC13B2A6%40pilato.fr. >>>>>>> >>>>>>> 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 [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/elasticsearch/CAGpUk7e1AX3%3DQ8Ypd4n1De9S6v%3D%3D2umGbP%2B%2B5LxPG1GuKBPOzA%40mail.gmail.com. >>>>>> 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 >>>>> [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/elasticsearch/8696C12E-9C5E-49CF-81C8-448DAAC5105F%40pilato.fr. >>>>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/CAGpUk7emNY0_EbdiXUNepNh%3D0%2B393e%3DsHWHuXUf0DwuhS7feBg%40mail.gmail.com. >>> 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 >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/36A6ECCF-1A0D-444C-ADD8-112336A2EEC4%40pilato.fr. >> >> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAGpUk7cXz7ifNre6xjj1aHGVXhhRrfGrm8jwCqtxn2%2B6U5QF_Q%40mail.gmail.com. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7A92B502-5BF2-4465-9C1C-06B6485C1E57%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
