Query conatining multiple fields

2015-03-24 Thread 4m7u1
Hi, This is a part of source in elasticsearch index. "_source": { "InvoiceId": "a", "InvoiceNum": "b", "LastUpdatedBy": "FINUSER1", "SetOfBooksId": "1", "LastUpdateDate": "2015-03-20 18:31:16.592",

java.lang.NoClassDefFoundError: org.elasticsearch.common.settings.ImmutableSettings

2015-02-01 Thread 4m7u1
I have a custom method for indexing data into elasticsearch. When i run this, i get the error as :* java.lang.NoClassDefFoundError: org.elasticsearch.common.settings.ImmutableSettings* I have included all the required libraries. public void insertIntoElasticsearch(String JsonString, String

Incremental updates using the river plugin

2015-01-19 Thread 4m7u1
Hello, In order to get the incremental updates form the db, the river query has the following timestamp attribute. { "type" : "jdbc", "jdbc" : { "url" : "jdbc:mysql://localhost:3306/test", "user" : "", "password" : "", "sql" : [ {

Re: Elsticsearch JDBC river plugin metrics

2015-01-19 Thread 4m7u1
Got it. Thanks ! -- 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://g

Re: Elsticsearch JDBC river plugin metrics

2015-01-19 Thread 4m7u1
. > > The "elapsed" time is the time since this metric counter is active. > > Jörg > > On Mon, Jan 19, 2015 at 10:41 AM, 4m7u1 > > wrote: > >> Hi, >> I've got a small doubt again. >> >> *[2015-01-19 15:06:08,410][INFO ][river.jdbc.Ri

Re: Elsticsearch JDBC river plugin metrics

2015-01-19 Thread 4m7u1
Hi, I've got a small doubt again. *[2015-01-19 15:06:08,410][INFO ][river.jdbc.RiverMetrics ] pipeline org.xbib.elasticsearch.plugin.jdbc.RiverPipeline@1cede282 complete: river jdbc/my_test_river metrics: 34 rows, 170.35844075426294 mean, (147.82076731011736 30.98274869393544 10.4096908758

JDBC plugin Feeder Mode

2015-01-18 Thread 4m7u1
Hi, This is what I've understood so far, JDBC plugin in Feeder mode is run as a bash script with parameters similar to river. The documentation says that it is a push model. Can anyone explain how does it work? If i have a new data pushed into my db, what role does the feeder play from here on?

Re: Writing custom scripts for indexing data in Elasticsearch

2015-01-18 Thread 4m7u1
Thank you :) On Friday, January 16, 2015 at 6:27:48 PM UTC+5:30, Jörg Prante wrote: > > "schedule" is triggering the JDBC plugin by wall clock time of the > machine, where "interval" simply waits the given time period between two > runs. > > Jörg > > On Fri, Jan 16, 2015 at 11:12 AM, Amtul Nazne

Re: Elasticsearch JDBC river plugin- Interval vs Schedule.

2015-01-18 Thread 4m7u1
Okay got it. Thanks :). And are both the same when it comes to performance? >> -- >> 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 elasticsearc...@goo

Re: Elsticsearch JDBC river plugin metrics

2015-01-18 Thread 4m7u1
> bytes, and print the measure of megabytes per second, which is in > interesting number for throughput. > > Jörg > > On Fri, Jan 16, 2015 at 12:16 PM, 4m7u1 > > wrote: > >> I'm trying to run a river query which fetches 1 records scheduled at >>

Elsticsearch JDBC river plugin metrics

2015-01-16 Thread 4m7u1
I'm trying to run a river query which fetches 1 records scheduled at 1 minute interval. The first time it runs, metrics is 1 rows and after a gap of 1 minute that is (scheduled interval) metrics is 2 rows. What does this mean? Although the number of hits i get on querying the river

Elasticsearch JDBC river plugin- Interval vs Schedule.

2015-01-16 Thread 4m7u1
In JDBC river plugin for Elasticsearch, what is the difference between "interval" and "schedule"? Both are used to keep Elasticsearch in sync with the database. Which one is better? -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscr

ELasticsearch: Interval vs. Schedule

2015-01-16 Thread 4m7u1
Hi ! What is the difference between interval and schedule? Both are used to keep Elasticsearch in sync with the database. Which one is better? -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving e