Re: How to use stopword elasticsearch

2015-04-12 Thread Mohd Syafiq
i already do some codes and try run it's but when i view using head plugin , the "is" "the" word in index still appear On Mon, Apr 13, 2015 at 1:33 PM, Mark Walkom wrote: > Take a look at > http://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-stop-analyzer.html, > it looks li

Re: regex is not working

2015-04-12 Thread vineeth mohan
Hello Ayman , The regex is done on the token level and not on the string level. Lets assume your field value is = abc/xyz This is broken into abc/xyz => [ abc , xyz] Now you can do regex match on the token level and not on abc/xyz. So if you search for ab* , it will match as it matches to abc but

Re: true embedded mode

2015-04-12 Thread vineeth mohan
Hello Ted , If you are using transport client as told in the link below , you should be using embedded soltuion. LINK - http://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client.html#transport-client If its HTTP , then it tries to talk through the port and might try all the ser

Re: How to use stopword elasticsearch

2015-04-12 Thread Mark Walkom
Take a look at http://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-stop-analyzer.html, it looks like you need to define the words you want to stop. On 13 April 2015 at 14:49, Mohd Syafiq wrote: > i have a Elasticsearch 1.5 running on my server, > > specifically i want/create

How to use stopword elasticsearch

2015-04-12 Thread Mohd Syafiq
i have a Elasticsearch 1.5 running on my server, specifically i want/create three field with is 1.name field 2.description 3.nickname i want setup stopword for decription and nickname field ,when i insert the data on the Elasticsearch then stop word automatically remove unwanted stopword. im

true embedded mode

2015-04-12 Thread Ted Smith
Hello: I am running ES with one Node, one Shard in embedded Java app. Does Node client run in "true" embedded mode or is it still going through the client server data flow? If I create a Search Request, object and excute it, get it, would ES first serialize it into Json data and send to a server

Changing the published port

2015-04-12 Thread Vinicius Carvalho
Hi there, I'm trying to setup an ES infrastructure inside docker, and so far I was able to change the publish host from using docker's internal IP to use the HOST IP, but I have problems because the PORT used by the container 9300 does not map to the HOST port. Is there a way to publish a diffe

regex is not working

2015-04-12 Thread Ayman Shorman
Hello, I'm trying to get exact match of field but unfortunately regexp doesn't work with me. I have kibana 4 and elasticsearch 1.4.4 . i'm using logstash template in my index and i have all string fields analyzed and not_analyzed. Now i'm trying to search inside field for string exactly for e

Recreating lost shard data

2015-04-12 Thread Vladi Feigin
Hi All, Mistakenly we shut downed 3 nodes in the cluster in the same time. They contained both the primary shard and its replica :-( ES probably decided that it has lost the entire shard and created new shard but with zero documents. We've returned those 3 previously shut downed nodes to the clu

Re: how to lower the significance of a certain phrase

2015-04-12 Thread Doug Turnbull
Yehosef, this sounds very similar to some title search work I've done. Title fields are odd because TF is often meaningless, and IDF can also Be quite skewed. If only a few titles have "how" in the text, then you'll get very odd results. Read more here: http://opensourceconnections.com/blog/2014/1

Re: how to lower the significance of a certain phrase

2015-04-12 Thread joergpra...@gmail.com
You can not penalize terms, you can only reward terms. The trick is to reward important terms and so all other (unwanted and unknown) terms get penalized. One method is to analyze sentences for grammar (part-of-speech tagging) and reward nouns or other keywords with boosting values, and use an exte

Re: Circuit Breakers not triggering before OOM on a node

2015-04-12 Thread Kris Davey
Currently we are running 1.4.2, Each of the data nodes is running 2 instances of ES, except the 3 master nodes and the single client node. Each data node box has 40 cores and 128GB of RAM, 28GB is allocated to the heap. Here are the settings in our yml file: node.master: false node.data: tr

Re: Elasticsearch Upgrade to Version 1.4.4

2015-04-12 Thread Ivan Brusic
In my experience, the client can be older than the server.* The server side code contains many version checks, so it should know how to handle requests from older clients. The inverse is much harder to support since clients do not change their requests based on the server. * Between minor versions

Elasticsearch Upgrade to Version 1.4.4

2015-04-12 Thread Costya Regev
Hi , We are running on Elasticsearch Version 1.4.2 , Our client version is 1.4.1. We want to upgrade to Es version 1.4.4 do we need to upgrade the Client version in order to achive the upgrdae ? Thanks, Costya. -- You received this message because you are subscribed to the Google Groups

Re: Is there any posibility to create index/type/id/../../.. in elastic search - i mean multi level paths instead of restricting upto 3

2015-04-12 Thread David Pilato
You can't out of the box. But you could probably add a REST layer in the middle to translate what you need to Elasticsearch ? David > Le 12 avr. 2015 à 15:13, margam.ravitej...@gmail.com a écrit : > > Hello, > > I have requirement where I need multi level paths like > /twitter/user//posts/ (e

Is there any posibility to create index/type/id/../../.. in elastic search - i mean multi level paths instead of restricting upto 3

2015-04-12 Thread margam . raviteja14
Hello, I have requirement where I need multi level paths like */twitter/user//posts/ (eg: /twitter/user/ravi/posts/1) *using elastic search Please help me out... -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group

Re: Unable to update document using a script

2015-04-12 Thread Sacheendra Talluri
The script works if used as an indexed script at /_scripts/groovy/updateDocument. On Sunday, April 12, 2015 at 6:14:20 PM UTC+5:30, Sacheendra Talluri wrote: > > I am unable to update documents using scripts. The required script has > been stored at config/scripts. > The curl request I am doin

Unable to update document using a script

2015-04-12 Thread Sacheendra Talluri
I am unable to update documents using scripts. The required script has been stored at config/scripts. The curl request I am doing is here https://gist.github.com/sacheendra/22424ca9b3caf1d2a0b1#file-updatedoc_err The error being returned is: { "error" : "ActionRequestValidationException[Valida

how to lower the significance of a certain phrase

2015-04-12 Thread Yehosef Shapiro
Often people using our search type "how to " eg "how to paint my kitchen". This might result in results for "tips to paint my kitchen" or "how to paint my bathroom". the phrase "how to" is a generic phrase and I would like to minimize its significance. I don't want to remove it completely