Re: Different configuration servers for master and slave

2014-06-01 Thread Nik Everett
No. Which copy of the shard is the replica and which is the slave can change all the time. Most actions take almost the same amount of CPU/memory/time on master as slave. If you find this not true for your workload your best bet is to fiddle with the allocation parameters and raise the weight of

Re: Hide some system fields

2014-05-29 Thread Nik Everett
Source filtering is similar but normally returns nicer results. Sent from my iPhone > On May 29, 2014, at 8:29 AM, Florentin Zorca wrote: > > Hi, > > try using fields to specify only the fields you are interested in: > > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/s

Re: How can connect to elastic Search from public ip

2014-05-26 Thread Nik Everett
Ssh tunneling is how I do it. There is always a way to get to port 22. Sent from my iPhone > On May 27, 2014, at 7:30 AM, David Pilato wrote: > > Is the 9200 port open? > > -- > David ;-) > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > > > Le 27 mai 2014 à 05:39, Mas Hgnis a écri

Re: Facetted Search Misbehaving

2014-04-20 Thread Nik Everett
Sorry, wasn't reading too closely. If the execution:and is taking sometimes then that sounds like a bug. Nik Sent from my iPhone > On Apr 20, 2014, at 3:49 PM, Igal wrote: > > hey Nik, > > thanks for your reply. > > you are correct about the default operator being "or", but as I've post

Re: Facetted Search Misbehaving

2014-04-20 Thread Nik Everett
Sent from my iPhone > On Apr 20, 2014, at 3:06 PM, "Igal @ getRailo.org" wrote: > > I have an index for a Store with a type for Items, i.e. /store/items. among > other properties, Items have a Title (analyzed text), a Description (analyzed > text), and Tags (not-analyzed text). > > I want

Re: bulk indexing and number of shards

2014-04-13 Thread Nik Everett
Sorry, you can't reduce it. I imagine the performance increase you get is because the merge logic is per shard so it does less when there are more shards for the same data. You can likely get similar numbers if you set the refresh interval to -1 and play with the merge policy before the bulk loa

Re: Elasticsearch phrase suggester

2014-04-10 Thread Nik Everett
Set the min to 2 and max to either 2 or 3 and emit unigrams. That'll get it working. Also you probably want to set max errors to a number > 1 because .5 means 50% which can get quite large if someone types 20 terms. That's been my experience with it. Nik Sent from my iPhone > On Apr 10, 201

Re: JSON validation by Sense

2014-03-28 Thread Nik Everett
The one in chrome will refuse to auto indent invalid json, I believe. Sent from my iPhone > On Mar 28, 2014, at 8:41 AM, aristechnologypartn...@gmail.com wrote: > > perhaps fairly naive question, but does Sense let you validate JSON documents > before they are sent to ES? Thx. > > I'm using o

Re: What happens (or should happen) if your elasticsearch configurations don't match?

2014-03-07 Thread Nik Everett
My guy says some config will matter on each node (minimum master nodes) and the rest will only use the master's value. Sent from my iPhone > On Mar 7, 2014, at 5:15 AM, Robin Clarke wrote: > > I'm wondering if anyone knows (can't easily test right now) what happens if > your elasticsearch co

Re: Setting up elasticsearch to scale: shards per index

2014-02-10 Thread Nik Everett
If you have an index per (some time period) then you can create the new indexes with more shards when you have more hardware and leave the old ones with their old number. You can also allocate more shards then noses in preparation for getting more nodes. I believe those are the standard tactics

Re: Are the insert operations to elasticsearch asynchronous in nature

2014-02-02 Thread Nik Everett
If you are using the java API the answer is maybe, it depends on how you use it. In addition, even if you use the synchronous API you have to wait for a refresh for you data to be searchable. By default they happen every second. Sent from my iPhone > On Jan 31, 2014, at 6:21 AM, sowjanya wrot

Re: Native client or REST

2014-01-23 Thread Nik Everett
The native client is lower overhead but you have to use the same version the client as you do Elasticsearch and you should use the same JVM version as well. If you do java then those are the trade offs. Sent from my iPhone On Jan 23, 2014, at 9:19 AM, Lukáš Vlček wrote: >> Question: If I in

Re: boosting according to users preferences

2014-01-17 Thread Nik Everett
Have a look at the function score query and for using filters with a boost factor with it. Sent from my iPhone > On Jan 17, 2014, at 5:56 PM, khaled gomaa wrote: > > Im creating a targeted ads system. > I have a machine learning part which analyzes the user preference and send me > a list wi

Re: Upgrade from 0.90.5 to 0.90.9

2014-01-05 Thread Nik Everett
I was wondering if you technically could downgrade so long as you don't write or optimize. Not that I suggest it, but it would be neat to know Sent from my iPhone > On Jan 5, 2014, at 2:00 PM, "joergpra...@gmail.com" > wrote: > > 0.90.9 uses Lucene 4.6 which is a pretty significant feature u