Search for parts of a string array in elasticsearch

2015-06-10 Thread vipins
Hi, I have a requirement, where i have to search for the filed values(value1,value2 and value3) from elasticsearch. But these values will be available from three differetn documents. How can i make a ES query? Currently i have single value for the filed and the query goes as below;

No node available exception

2015-01-21 Thread vipins
Hi, I am using transport client for ES. I have a search request for 1 million records. I am getting No node available exception after getting 8k records itself. What can be done to overcome this issue? Its very urgent please help. Thanks. -- View this message in context:

Re: No node available exception

2015-01-21 Thread vipins
When i set the ping timeout for transport client to a higher value, the issue is fixed automatically. -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/No-node-available-exception-tp4069387p4069408.html Sent from the ElasticSearch Users mailing list archive at

check searchresponse is success or failure for a given search

2015-01-12 Thread vipins
I am querying elasticsearch with the below query SearchResponse searchResponse = getElasticSearchClient() .prepareSearch(indexNameStr).setTypes(typeNameStr) .setSearchType(SearchType.DFS_QUERY_THEN_FETCH)

concurrent search request to elasticsearch

2015-01-08 Thread vipins
What is the maximum limit on the concurrent search requests with default Elastic search server settings. I am able to perform only 5 parallel search requests in my application with default settings. how can we improve the scalability of ES server search requests apart from increasing number of

Re: concurrent search request to elasticsearch

2015-01-08 Thread vipins
Thanks a lot for your detailed response. We have got all default settings only.Single node and 5 shards. But there are lot of indices with huge number of records. search settings: threads : 12, queuesize : 1000, My query is very simple. which runs on a single index

Re: concurrent search request to elasticsearch

2015-01-08 Thread vipins
Sorry , I was wrong with number of shards. actual number of shards is 320 for the index which i am querying. We are using rolling indices on a daily basis. max queue size is 1000 for search thread pool. We overcome the issue None of the configured nodes are available by keeping tcp connection

Re: concurrent search request to elasticsearch

2015-01-08 Thread vipins
Thanks for your prompt response. Surely will reduce the number of shards with nodes/replicas addition for the better performance of the search. -- View this message in context:

Rejected execution exception for multiple parallel requests.

2015-01-06 Thread vipins
Hi, I am querying elasticsearch for multiple parallel requests using single transport client instance in my application. I got the below exception for the parallel execution. Hot to overcome the issue. org.elasticsearch.common.util.concurrent.EsRejectedExecutionException: rejected execution

search query in elasticsearch

2014-10-14 Thread vipins
Hi, I am trying to search for a document in elasticsearch. Field name is sum and Field value is 'SUM-123' I created a boolquery to matchQuery('sum','SUM-123'). But it is not returning the exact sum field documents instead it is returning the documents with different field values. -- View