I think you need to change: https://github.com/dadoonet/legacy-search/blob/01-direct/src/main/resources/jdbc.properties <https://github.com/dadoonet/legacy-search/blob/01-direct/src/main/resources/jdbc.properties> https://github.com/dadoonet/legacy-search/blob/01-direct/pom.xml#L88-L92 <https://github.com/dadoonet/legacy-search/blob/01-direct/pom.xml#L88-L92>
You can also look at this though it did not move for 2 years: https://github.com/55social/hibernate-search-elasticsearch-connector <https://github.com/55social/hibernate-search-elasticsearch-connector> -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr <https://twitter.com/elasticsearchfr> | @scrutmydocs <https://twitter.com/scrutmydocs> > Le 12 févr. 2015 à 08:05, William Yang <williamyan...@gmail.com> a écrit : > > Oh I will be using MySQL in the future, right now I'm adding it upon AppFuse > (which is a website that lets you log in, add users, and search for users). > So I guess, Yes, right now I am only using Hibernate search. What should I do > about the postgresql part until I get to using MySQL? > > And yes, when I said "run in Spring," I meant how to build it in the Spring > Framework...there was an error (that I don't remember right now) that > wouldn't let me compile it because a dependency was missing. > > On Wed, Feb 11, 2015 at 10:25 PM, David Pilato <da...@pilato.fr > <mailto:da...@pilato.fr>> wrote: > postgresql is a database. I guess you are using Hibernate with a database, > right? > Unless you are using only Hibernate search? > > What do you mean "run in Spring"? > Spring is the framework right? > > mvn jetty:run should work fine > > David > > Le 12 févr. 2015 à 07:11, William Yang <williamyan...@gmail.com > <mailto:williamyan...@gmail.com>> a écrit : > >> Hey David, >> >> Thanks for responding - I found that link too and tried to follow it but I >> got confused what postgresql is. If I don't know what it is, where do I find >> it? >> Also I think I had some problems with a common dependency, I don't have the >> exact error code on me right now, but there was something wrong with the >> dependency. >> >> What would I put as the goal when I try to run it in spring? clean install, >> or just jetty:run? >> >> On Wed, Feb 11, 2015 at 10:04 PM, David Pilato <da...@pilato.fr >> <mailto:da...@pilato.fr>> wrote: >> Have a look here. https://github.com/dadoonet/legacy-search >> <https://github.com/dadoonet/legacy-search> >> >> It's an Hibernate demo project which uses Spring as well. >> If you navigate through branches, it will show you how to add elasticsearch. >> >> I won't try to connect Hibernate Search and replace Lucene implementation by >> elasticsearch. >> >> My 2 cents >> David >> >> Le 12 févr. 2015 à 00:18, William Yang <williamyan...@gmail.com >> <mailto:williamyan...@gmail.com>> a écrit : >> >>> Hi everyone, >>> >>> I am new to the forum and I am also new to ElasticSearch! >>> However for this project, I am trying to replace HibernateSearch with >>> ElasticSearch. I am using Spring Framework, and I have also taken a look at >>> both Spring-ElasticSearch and Spring-Data-ElasticSearch. However, I am >>> still new to using these open source programs and don't really know where I >>> should start. I'd appreciate it if someone could give me a push in the >>> right direction on how to incorporate ElasticSearch into my code. Thank >>> you! >>> >>> (I posted this on the archives so if this pops up twice I'm sorry!! I >>> didn't understand how this forum worked) >>> >>> -- >>> 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+unsubscr...@googlegroups.com >>> <mailto:elasticsearch+unsubscr...@googlegroups.com>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elasticsearch/52ce9435-750d-41ef-a97a-a6561fea4368%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/elasticsearch/52ce9435-750d-41ef-a97a-a6561fea4368%40googlegroups.com?utm_medium=email&utm_source=footer>. >>> For more options, visit https://groups.google.com/d/optout >>> <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/XfY9hJsKcOM/unsubscribe >> <https://groups.google.com/d/topic/elasticsearch/XfY9hJsKcOM/unsubscribe>. >> To unsubscribe from this group and all its topics, send an email to >> elasticsearch+unsubscr...@googlegroups.com >> <mailto:elasticsearch+unsubscr...@googlegroups.com>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/EA2119B7-B656-4C5D-916A-C79D186C3336%40pilato.fr >> >> <https://groups.google.com/d/msgid/elasticsearch/EA2119B7-B656-4C5D-916A-C79D186C3336%40pilato.fr?utm_medium=email&utm_source=footer>. >> >> For more options, visit https://groups.google.com/d/optout >> <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+unsubscr...@googlegroups.com >> <mailto:elasticsearch+unsubscr...@googlegroups.com>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/CAHV%3D-Pnid4LTy8ArhN6uqcTvH8LVDNt4MCCxrQmiYatAQxJNpQ%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/elasticsearch/CAHV%3D-Pnid4LTy8ArhN6uqcTvH8LVDNt4MCCxrQmiYatAQxJNpQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. >> For more options, visit https://groups.google.com/d/optout >> <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/XfY9hJsKcOM/unsubscribe > <https://groups.google.com/d/topic/elasticsearch/XfY9hJsKcOM/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > elasticsearch+unsubscr...@googlegroups.com > <mailto:elasticsearch+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/B29F2368-4B2E-41F9-A84C-16519688106B%40pilato.fr > > <https://groups.google.com/d/msgid/elasticsearch/B29F2368-4B2E-41F9-A84C-16519688106B%40pilato.fr?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout > <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+unsubscr...@googlegroups.com > <mailto:elasticsearch+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAHV%3D-P%3DA9DYE0m9zxmPPJ%3DZut_SG77ansxN9cdvkVJAykqzsEw%40mail.gmail.com > > <https://groups.google.com/d/msgid/elasticsearch/CAHV%3D-P%3DA9DYE0m9zxmPPJ%3DZut_SG77ansxN9cdvkVJAykqzsEw%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/A7360115-29FD-489C-8EB7-403045A6E322%40pilato.fr. For more options, visit https://groups.google.com/d/optout.