Re: elasticsearch-hadoop - getting specified fields from elasticsearch as an input to a mapreduce job.

2015-04-08 Thread Paul Chua
I'm having an issue very similar to this; I'm not sure exactly what you did to get the array contents. I've made a new post here: https://groups.google.com/forum/#!topic/elasticsearch/MpOqKthgqtA -- Paul Chua Data Scientist 317-979-5643 [image: cid:02526A0B-9444-47C7-A3EC-12B

Getting contents of org.elasticsearch.hadoop.mr.WritableArrayWritable in scala

2015-04-08 Thread Paul Chua
oncepts")).toStrings :41: error: value toStrings is not a member of org.apache.hadoop.io.Wri table map("396974").get(new Text("concepts")).toStrings ^ Any advice will be greatly appreciated. Thanks

Is there any documentation on using ctx in scripts?

2015-03-25 Thread Paul G
n I find documentation about the properties of the ctx object? I looked through the Java API to see if I could find something in the source code that might be helpful but was unable to find anything. Thank you, Paul -- You received this message because you are subscribed to the Google Group

Order of the properties gets changed if "_source":{ "exclude": ["title"] } is used in a query.

2015-03-22 Thread Debashish Paul
Hi, I am facing a problem with using "_source":{ "exclude": ["title"] } in my elastic query. Whenever I use this, my properties in the "_source" get shuffled. What am I doing wrong? Example: Without "_source":{ "exclude": ["title"] } -

"_source":{ "exclude": ["title"] }

2015-03-22 Thread Debashish Paul
Hi, I am facing a problem with using "_source":{ "exclude": ["title"] } in my elastic query. Whenever I use this, my properties in the "_source" get shuffled. What am I doing wrong? Example: Without "_source":{ "exclude": ["title"] } -

Re: EC2 cluster storage question

2015-02-25 Thread Paul Sanwald
e everyone's thoughts. Thanks! --paul On Wednesday, February 25, 2015 at 2:15:01 AM UTC-5, Norberto Meijome wrote: > > OP points out he is using ephemeral storage...hence shutdown will destroy > the data...but it can be rsynced to EBS as part of the shutdown > process...and then rep

EC2 cluster storage question

2015-02-24 Thread Paul Sanwald
ter off over the weekend. That said, restoring terabytes from snapshot doesn't seem like a very efficient way to do this, so I want to consider options, and was hoping the community could help me in identifying options that I am missing. thanks in advance for any thoughts you may have. -

Combining Multiple Queries with 'OR' or 'AND'

2015-02-19 Thread Debashish Paul
Hi, Question I am trying to combine 2 user search queries using AND and OR as operation. I am aware of combining queries where we can merge filters, but I want to merge entire queries like { {BIG Elastic Query1} AND {BIG Elastic Query2} }. Details For instance say a user performs a search for

Re: php api and self signed certs

2015-02-11 Thread Paul Halliday
ile it should probably be > CURLOPT_SSL_VERIFYPEER => true as shown in the link you provided. > > Ian > > On Tuesday, February 10, 2015 at 10:42:05 AM UTC-5, Paul Halliday wrote: >> >> Well, I got it working but had to make the declarations in CurlHandle.php >> >> I added:

Re: php api and self signed certs

2015-02-10 Thread Paul Halliday
urlOptions); ... What's strange is that I also tried placing them in the default $curlOptions but those seemed to get dumped somewhere prior to curl_setopt_array() Yucky, but working. On Monday, February 9, 2015 at 7:05:34 PM UTC-4, Paul Halliday wrote: > > Hi, > > I am trying to ge

php api and self signed certs

2015-02-09 Thread Paul Halliday
Hi, I am trying to get the configuration example from here to work: http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_security.html#_guzzleconnection_self_signed_certificate My settings look like this: 19 // Elasticsearch 20 $clientparams = array(); 21 $clientpar

Re: Possible? Wildcard template for a collection of fields to solve some dynamic mapping woes

2015-02-09 Thread Paul Kavanagh
rote: > > You mean something like dynamic templates? > http://code972.com/blog/2015/02/81-elasticsearch-one-tip-a-day-using-dynamic-templates-to-avoid-rigorous-mappings > > -- > > Itamar Syn-Hershko > http://code972.com | @synhershko <https://twitter.com/synhershko> >

Re: Possible? Wildcard template for a collection of fields to solve some dynamic mapping woes

2015-02-06 Thread Paul Kavanagh
; Itamar Syn-Hershko >> http://code972.com | @synhershko <https://twitter.com/synhershko> >> Freelance Developer & Consultant >> Lucene.NET committer and PMC member >> >> On Fri, Feb 6, 2015 at 1:39 PM, Paul Kavanagh >> wrote: >> >>&g

Re: Possible? Wildcard template for a collection of fields to solve some dynamic mapping woes

2015-02-06 Thread Paul Kavanagh
rote: > > You mean something like dynamic templates? > http://code972.com/blog/2015/02/81-elasticsearch-one-tip-a-day-using-dynamic-templates-to-avoid-rigorous-mappings > > -- > > Itamar Syn-Hershko > http://code972.com | @synhershko <https://twitter.com/synhershko> >

Possible? Wildcard template for a collection of fields to solve some dynamic mapping woes

2015-02-06 Thread Paul Kavanagh
data, but it's great to have logged for debugging) Is it possible to do this with a template? I could not find a way to do this via the template documentation on the ES site. Any guidance would be great! Thanks, -Paul -- You received this message because you are subscribed to the Goog

Searching by Temporal Proximity

2015-01-12 Thread Paul Harvey
mport in any way that would help. I have had a couple of ideas on how to tackle the problem but neither are satisfactory. I wondered whether there is a standard way to tackle this kind of requirement in ElasticSearch and whether anyone else had run up against it. Thanks, Paul. -- You received

Marvel Sense GET/POST

2015-01-05 Thread Paul Scott
consider it irresponsible and unsafe, and I highly recommend the behaviour be disabled. Please try to read past my obvious irritation and the part of this mistake which falls on my head, to the part in this mistake that the Sense UI played too. All the best, Paul -- You received this message

Re: zen disco socket usage and port

2014-12-16 Thread Paul Baclace
Now that you pointed out the addition "es." prefix needed when specifying on the command line, I can see that: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html shows it via color in an example and with "instead of". Apparently, that was not obvious

Re: zen disco socket usage and port

2014-12-16 Thread Paul Baclace
More info: I tried to set the transport port like this: -Dtransport.tcp.port= on the elasticsearch command line, but it still uses port 9300. On Tuesday, December 16, 2014 12:42:12 PM UTC-8, Paul Baclace wrote: > > Is it normal for a single node elasticsearch process to open 13 s

zen disco socket usage and port

2014-12-16 Thread Paul Baclace
Is it normal for a single node elasticsearch process to open 13 sockets to itself? This seems like an excessive zen disco party and inexplicable. I am trying out v1.4. Is it possible to set the transport protocol port? -- You received this message because you are subscribed to the Google Gro

zen disco socket usage and port

2014-12-16 Thread Paul Baclace
Is it normal for a single node elasticsearch process to open 13 sockets to itself? This seems like an excessive zen disco party and inexplicable. I am trying out v1.4. Is it possible to set the transport protocol port? -- You received this message because you are subscribed to the Google Gro

Re: java.lang.NoSuchFieldError: ALLOW_UNQUOTED_FIELD_NAMES when trying to query elasticsearch using spark

2014-09-16 Thread SAURAV PAUL
; > On 15 September 2014 06:55, SAURAV PAUL wrote: > >> Hi, >> >> I am trying to use Spark and ElasticSearch. >> >> Currently, the RDD contains pipe delimited records. >> >> parsedRDD.saveAsNewAPIHadoopFile(outputLocation, >>NullWritable.cla

Re: java.lang.NoSuchFieldError: ALLOW_UNQUOTED_FIELD_NAMES when trying to query elasticsearch using spark

2014-09-14 Thread SAURAV PAUL
Hi, I am trying to use Spark and ElasticSearch. Currently, the RDD contains pipe delimited records. parsedRDD.saveAsNewAPIHadoopFile(outputLocation, NullWritable.class, Text.class, CustomTextOutputFormat.class, job.getConfiguration()); Write now I am storing the output in HDFS. In

Re: Replica Shard inconsistencies & disabling compression don't appear to help

2014-08-21 Thread Paul Smith
e the new release is limited to mostly this library change seems restricted to this area. Only real way is for us to upgrade, which is sadly not straight forward right now. Paul On Thursday, 21 August 2014, joergpra...@gmail.com wrote: > Do you observe the replica shard inconsistency only by c

Replica Shard inconsistencies & disabling compression don't appear to help

2014-08-20 Thread Paul Smith
ough because of said upgrade issues (all our side, not an ES problem). anyway, thought I would pass that data point on. regards, Paul Smith -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group an

Re: Shard data inconsistencies

2014-08-13 Thread Paul Smith
confirm/deny it being one of these cases. There is also support to issue basic move commands with some simple logic to attempt to rebuild that replica. Hope that helps. cheers, Paul Smith On 8 August 2014 01:14, aaron wrote: > I've noticed on a few of my clusters that some shard r

Re: Dealing with spam in this forum

2014-07-01 Thread Paul Brown
longstanding members who are willing to help ban spammers is equivalent to having N longstanding members who are willing to quickly admit new users. (And you're welcome to add me as N+1.) - Banning is ineffective. Spammers will continuously sign up with new accounts. -- Paul — p...@mult.ifar

Re: Very frequent ES OOM's & potential segment merge problems

2014-06-20 Thread Paul Sabou
org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482) On Thursday, June 19, 2014 10:35:28 PM UTC+2, Paul Sabou wrote: > > Hi, > > *Situation:* > We are using ES 1.2.1 on a machine with 32GB RAM, fast SSD and 12 cores. The > machine runs Ubuntu 14.0.x LTS. &g

Very frequent ES OOM's & potential segment merge problems

2014-06-19 Thread Paul Sabou
segment merging running out of memory? If so how can be solved? If not, what could be the problem? Thanks Paul. -- 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 a

Re: Need help setting up autocomplete suggestions using phrase suggester

2014-06-06 Thread Paul Bormans
I just wanted to let anyone know i didn't succeed with the phrase suggester and i switched to the completion suggester, that actually works very well to my purpose. Paul -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To u

Re: ES OutOfMemory on a 30GB index

2014-05-29 Thread Paul Sanwald
rch the contents of an email and the parsed contents of its attachments, and get back the email as a result. >From reading the docs, it seems like the better way to solve this is with nested types? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-nested-type.html --

Re: ES OutOfMemory on a 30GB index

2014-05-28 Thread Paul Sanwald
x27;s not in the stats gist. > > Regards, > Mark Walkom > > Infrastructure Engineer > Campaign Monitor > email: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 29 May 2014 08:33, Paul Sanwald > > wrote: > >> I apologize about the sig

Re: ES OutOfMemory on a 30GB index

2014-05-28 Thread Paul Sanwald
t; > Infrastructure Engineer > Campaign Monitor > email: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 29 May 2014 07:27, Paul Sanwald > > wrote: > >> Hi Everyone, >>We are seeing continual OOM exceptions on one of our 1.1.0 >

ES OutOfMemory on a 30GB index

2014-05-28 Thread Paul Sanwald
Hi Everyone, We are seeing continual OOM exceptions on one of our 1.1.0 elasticsearch clusters, the index is ~30GB, quite small. I'm trying to work out the root cause via heap dump analysis, but not having a lot of luck. I don't want to include a bunch of unnecessary info, but the stacktrace

Need help setting up autocomplete suggestions using phrase suggester

2014-05-21 Thread Paul Bormans
n_word_len" : 1 } ] } } }, "from": 0, "size": 0 } { "took": 8, "timed_out": false, "_shards": { "total": 5, "successful": 5, "failed": 0 }, "

Re: java 8, elasticsearch, and MVEL

2014-05-16 Thread Paul Sanwald
It's a little hard to tell between the mvel es commit histories and the github issue. It looks like this isn't fixed, and isn't going to get fixed in MVEL? Am I misreading something? --paul On Monday, April 21, 2014 8:39:43 AM UTC-4, Alexander Reelsen wrote: > > Hey, >

Re: Shard Initialization slow down

2014-05-13 Thread Paul
, memory, > disk I/O, your workload of indexing/searching) so it is up to you to > calibrate your node capacity. After adding nodes, you will observe that ES > scales well and can handle more shards. > > Jörg > > > On Tue, May 13, 2014 at 11:59 AM, Paul >wrote: > &g

Re: Shard Initialization slow down

2014-05-13 Thread Paul
l > > > > On Tuesday, May 13, 2014 11:29:20 AM UTC+1, Paul wrote: >> >> Ok, do you know if there are clear indicators when limits are being >> reached? >> >> We don't see errors in the logs (apart from the 30s timeout) but if there >> are system

Re: Shard Initialization slow down

2014-05-13 Thread Paul
t; > Regards, > Mark Walkom > > Infrastructure Engineer > Campaign Monitor > email: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 13 May 2014 20:29, Paul > wrote: > >> Ok, do you know if there are clear indicators when limits are being

Re: Shard Initialization slow down

2014-05-13 Thread Paul
Ok, do you know if there are clear indicators when limits are being reached? We don't see errors in the logs (apart from the 30s timeout) but if there are system or ES provided metrics that we can track to know when we need to scale it would be really useful. Thanks, Paul. On Tu

Re: Shard Initialization slow down

2014-05-13 Thread Paul
verly carefully but don't think the heap is maxing out on any of the nodes when this occurs. Thanks, Paul. On Tuesday, May 13, 2014 11:02:32 AM UTC+1, Mark Walkom wrote: > > Sounds like the inevitable "add more nodes" situation. > > How much RAM on each node, how b

Shard Initialization slow down

2014-05-13 Thread Paul
We are seeing a slow down in shard initialization speed as the number of shards/indices grows in our cluster. With 0-100's of indices/shards existing in the cluster a new bulk creation of indices up the 100's at a time is fine, we see them pass through the states and get a green cluster in a re

Testing for an Empty String With the Following

2014-04-18 Thread Paul
Hi, Thanks for everyone's patience while I learn the elasticsearch query DSL. I'm trying to get used to its verbosity. How would I do a query like this, again in SQL parlance: select col1 from mysource where col2 = "" and col3 in ["", "one", "two"] and col4 = "foo" -- You received this mes

Testing for an Empty String

2014-04-18 Thread Paul
Hi, Thanks for everyone's patience while I learn the elasticsearch query DSL. I'm trying to get used to its verbosity. How would I do a query like this, again in SQL parlance: select col1 from mysource where col2 = ""? -- You received this message because you are subscribed to the Google G

Is ElasticSearch the Right Tool for This

2014-04-17 Thread Paul
Hi, We're looking to move our infrastructure to ElasticSearch and I have some concerns. We plan on using this more as a database and less than a search engine. I know there are some companies out there that are doing this, but I have some queries that, with one SQL command I can get the resul

Re: ES cluster unable to assing new shards

2014-04-17 Thread Andreas Paul
them work it out who should become master. Maybe I had a split brain problem by restarting too quickly, but then why would I see all nodes in the cluster information with only one master. Anyway it's working now... On Wednesday, April 16, 2014 10:26:15 AM UTC+2, Andreas Paul wrote: >

Re: ES cluster unable to assing new shards

2014-04-16 Thread Andreas Paul
the problem tomorrow. On Tuesday, April 15, 2014 5:43:32 PM UTC+2, Andreas Paul wrote: > > Hi Mark, > > I forgot to write it again in this mail, but in the gist I pasted the full > logs when the ES cluster created the new indices until I tried to restart > the current active

Re: ES cluster unable to assing new shards

2014-04-15 Thread Andreas Paul
t; > > On 15 April 2014 22:20, Andreas Paul >wrote: > >> Hello there, >> >> on Monday morning our ES cluster cluster switched to red, because he >> didn't assign the new created indices to any ES node, see attached picture. >> >> >> >>

ES cluster unable to assing new shards

2014-04-15 Thread Andreas Paul
Hello there, on Monday morning our ES cluster cluster switched to red, because he didn't assign the new created indices to any ES node, see attached picture. I tried manually allocating these unassigned shards to a node, but it only returned the following error: # curl -XPOST $(hostname -f):

Re: java 8, elasticsearch, and MVEL

2014-04-07 Thread Paul Sanwald
out what script language implementation give best > performance and smartest resource usage behavior under ES. > > Jörg > > > On Fri, Apr 4, 2014 at 9:11 PM, Paul Sanwald > > > wrote: > >> it seems I'm the only one with this problem. perhaps I will migrate our

Re: java 8, elasticsearch, and MVEL

2014-04-04 Thread Paul Sanwald
it seems I'm the only one with this problem. perhaps I will migrate our scripts to javascript. I'll post back to the group with results. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails f

Re: Removing unused fields (more Lucene than ES but..)

2014-04-03 Thread Paul Smith
yeah, I probably should have thought when I read that that if it was easy, it probably would have already been done! :) Paul On 4 April 2014 11:07, Robert Muir wrote: > Thank you Paul, I added some comments just so the technical challenges > and risks are clear. > > Its unfortun

Re: Removing unused fields (more Lucene than ES but..)

2014-04-03 Thread Paul Smith
Thanks for the JIRA link Robert, I've added a comment to it just to share the real world aspect of what happened to us for background. On 1 April 2014 18:29, Robert Muir wrote: > On Tue, Apr 1, 2014 at 2:41 AM, Paul Smith wrote: > > > > Thanks Robert for the reply, all o

Re: Removing unused fields (more Lucene than ES but..)

2014-03-31 Thread Paul Smith
aths). We're going the reindex route for now, was just hoping there was some special trick we could do a little easier than the above. :) thanks again for your time! Paul -- You received this message because you are subscribed to the Google Groups "elasticsearch" group.

java 8, elasticsearch, and MVEL

2014-03-28 Thread Paul Sanwald
ripts to a different language, which seems like the easiest path. Any thoughts? Have others moved ES installs to java 8 successfully? --paul -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop rec

Re: Confusing highlight result when creating many tokens

2014-03-27 Thread Jon-Paul Lussier
I can confirm this issue is reproducible in 1.0.1 release On Friday, March 14, 2014 5:29:10 PM UTC-4, Jon-Paul Lussier wrote: > > Hey Elasticsearch, hopefully someone can at least explain if this is > intentional and how it happens(I have had other fragment highlighting > issues not

Re: Confusing highlight result when creating many tokens

2014-03-20 Thread Jon-Paul Lussier
Hi Elasticsearch, still waiting to see if this is a known issue, possibly that's resolved in a future release, or if this is something I did? I'd appreciate knowing, at least, if anyone can help. Thanks much. On Friday, March 14, 2014 5:29:10 PM UTC-4, Jon-Paul Lussier wrot

Confusing highlight result when creating many tokens

2014-03-14 Thread Jon-Paul Lussier
Hey Elasticsearch, hopefully someone can at least explain if this is intentional and how it happens(I have had other fragment highlighting issues not unlike this) The problem seems simple, I have a 64 character string that I generate 62 tokens for. Whenever I search for the entire string, I end

Re: rebuilding replicas

2014-02-05 Thread Paul Smith
post move auto rebalance dictates a shard replica to go back to where it was it appears to then find the old copy and just reuse that data which cancels out what you just tried to so. :) Paul On Thursday, 6 February 2014, asanderson wrote: > Is there a way via API to rebuild a replica other t

Re: Primary vs. replica shard inconsistencies?

2014-01-30 Thread Paul Smith
if you do use it, don't forget we build for ES 0.19, so change the pom.xml to your ES version otherwise it won't connect... :) On 31 January 2014 12:29, Paul Smith wrote: > if it helps at all, i've pushed the flappy item detector tool (*cough*) > here: > > h

Re: Primary vs. replica shard inconsistencies?

2014-01-30 Thread Paul Smith
odified to suit your purpose perhaps. cheers, Paul On 31 January 2014 11:59, Paul Smith wrote: > the flappy detection tool I have connects to the cluster using the > standard java autodiscovery mechanism, and, works out which shards are > involved, and then creates explicit TransportC

Re: Primary vs. replica shard inconsistencies?

2014-01-30 Thread Paul Smith
27;flappy' (appearing/disappearing depending on the shard >> being searched) is supposed to be in there or not, perhaps checking the >> data store that is the source of the index (is it a dB?). >> >> We have very infrequent case where the replica shard is not properly >

Re: Primary vs. replica shard inconsistencies?

2014-01-30 Thread Paul Smith
of just the replica shards by shunting them around (rather than a full rolling restart of ALL the shards, just the shard replicas you want) cheers, Paul Smith On 31 January 2014 09:44, Binh Ly wrote: > Xavier, can you post an example of 1 full query and then also show how the > result

Re: Trouble with has_parent query containing scripted function_score

2014-01-27 Thread Paul Bellora
e type in the URL, it only searched myChild, notmyParent On Monday, January 27, 2014 3:51:23 PM UTC-5, Paul Bellora wrote: > > Just to close the loop on this topic, Clinton Gormley posted an answer to > the SO question with a workaround: use doc['*myParent.*weight'].value. He

Re: Trouble with has_parent query containing scripted function_score

2014-01-27 Thread Paul Bellora
on the SO answer, Martin Groningen's gist<https://gist.github.com/martijnvg/8639841>does work fine and I'm not sure what the difference is between the two cases. Thank you Martin and Clinton for your help. On Sunday, January 26, 2014 4:47:48 PM UTC-5, Martijn v Groningen wrote: > &

Re: match query vs query string

2014-01-26 Thread avinash paul
thank Johan you will try it. -paul On Fri, Jan 24, 2014 at 1:49 PM, Johan Rask wrote: > Hi, > > You have to supply the name of the field for both words. > > name:Massachusetts name:Insti , Otherwise it will search for Insti in your > defaul search field. > > ...

Re: Trouble with has_parent query containing scripted function_score

2014-01-24 Thread Paul Bellora
Update: posted to Stack Overflow with bounty: http://stackoverflow.com/questions/21289149/trouble-with-has-parent-query-containing-scripted-function-score On Thursday, January 16, 2014 11:11:27 AM UTC-5, Paul Bellora wrote: > > I have two document types, in a parent-child relati

match query vs query string

2014-01-23 Thread paul
Hi , I am testing the below two queries but it gives different results *Query 1:* .../university/_search?q=name:Massachusetts%20Insti&fields=name *Query 2:* {"size": 10, "fields": [ "name" ], "query": { "match": { "name": { "query": "Massach

EdgeNgram Boosting more than Synonum

2014-01-23 Thread paul
;: { "query": "YU" } } } } my results are as below: "name": "Yuba College" "name": "Yukon Beauty College" "name": "Yale University" "name": "Cambridge Junior Colle

Re: keyword tokenizer

2014-01-23 Thread avinash paul
Binh , When i removed the syns_filter its still the same but when i changed the "tokenizer":"keyword", to "whitespcae" it taking "university" into account. May be its a tokenizer problem , when there is a space the keyword tokenizer is omitting the word af

Query filtered by _version range?

2014-01-22 Thread Paul Smith
useful. I could index a separate "queryableVersion" field with the same value, but maybe there's a better way. cheers, Paul -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group an

keyword tokenizer

2014-01-22 Thread paul
My mapping looks as below "autocomplete_index":{ "type":"custom", "tokenizer":"keyword", "filter":[ "lowercase", "syns_filter", "my_edgeNgram" ] } Now when i analyze the configuration us

Re: Synonym configuration

2014-01-21 Thread avinash paul
I got the answer by searching Google groups. On Tue, Jan 21, 2014 at 10:55 AM, paul wrote: > Hi , > > I read about in lot of places That There are two approaches when working > with synonyms : > >- expanding them at indexing time, >- expanding them at query time. &

Synonym configuration

2014-01-20 Thread paul
] }, "autocomplete_index":{ "type":"custom", "tokenizer":"whitespace", "filter":[ "lowercase", "syns_filter", "stop&qu

Synonym Filter

2014-01-20 Thread paul
Hi, My Synonym file contains the entry as below MIT,Massachusetts Institute of Technology My setting is as below: "settings":{ "analysis":{ "analyzer":{ "synonym":{ "tokenizer":"my_pipe_analyzer", "filter":[ "lowercas

Change "search_analyzer" settings without reindexing

2014-01-19 Thread paul
uot;, "my_edgeNgram" ] } mapping: "name":{ "type":"string", "index_analyzer" : "autocomplete_index", "search_analyzer" : "autocomplete_search&q

Trouble with has_parent query containing scripted function_score

2014-01-16 Thread Paul Bellora
I have two document types, in a parent-child relationship: "myParent" : { "properties" : { "weight" : { "type" : "double" } } } "myChild" : { "_parent" : { "type" : "myParent" }, "_routing" : { "required" : true } } The weight field is to be used for custom sc

Re: Function_score

2014-01-13 Thread avinash paul
thank you william will try upgrading -paul On Tue, Jan 14, 2014 at 4:23 AM, William Goldstein < williamrgoldst...@gmail.com> wrote: > Hey I realize this is an old thread, but just in case anyone else has this > problem, it's almost definitely a versioning issue... updating to

Re: Getting specific Fields

2014-01-03 Thread avinash paul
Thank you for the quick response. On Fri, Jan 3, 2014 at 1:00 AM, Ivan Brusic wrote: > Not yet supported: > https://github.com/elasticsearch/elasticsearch/issues/3022 > > Cheers, > > Ivan > > > On Thu, Jan 2, 2014 at 4:27 AM, paul wrote: > >> My DATA >&g

Getting specific Fields

2014-01-02 Thread paul
: { "rankingList.value": { "gt": 5 } } } ] } } } } } I want to get only the key value that is related to "Academic" within the array is it possible.

Re: OR query

2014-01-01 Thread avinash paul
Thank you Ivan will definitely try it out. -paul On Tue, Dec 31, 2013 at 10:51 PM, Ivan Brusic wrote: > You are better of using a proper boolean filter for better performance. > Queries cannot be cached and query string query analyzes the terms. Here is > an example of your filt

Feedback on docs

2013-12-31 Thread Paul Houle
Hi guys, I've recently gotten into Elasticsearch because the old search engine at my site http://ookaboo.com/ is horribly slow and I need something better. I've done a lot of work with Lucene and Solr in the past and particular I've been involved with projects that m

Re: OR query

2013-12-30 Thread paul
I got the query wotking by using { "query_string": { "default_field": "state", "query": "MA NY" } } - Paul On Tuesd

OR query

2013-12-30 Thread paul
My query is as below , which gives me all the colleges with state code "MA" i want all the colleges that are in "MA" or "NY" how to add OR filter { "query": { "filtered": { "query": { "nested": { "path": "programs", "query": { "bool": {

Re: spring-elasticsearch

2013-12-21 Thread avinash paul
earchfr> > > > Le 20 décembre 2013 at 12:34:21, paul > (avinashpau...@gmail.com) > a écrit: > > Hi , > > Right now i am using the below versions of spring elastic-search. If i > want to upgrade to latest elasticsearch 0.90.8 what version of "spring&qu

Re: Analyzer for a field in a nested document?

2013-12-20 Thread paul
got it :) On Wednesday, 18 December 2013 17:45:45 UTC+5:30, paul wrote: > > Hi Andrew, > > can you please post your mapping how did u provide analyzer to nested > field , i am facing the same problem. > > Thanks > Paul > > On Saturday, 16 June 2012 11:23:01 UT

spring-elasticsearch

2013-12-20 Thread paul
elasticsearch 0.90.0 org.springframework spring-core 3.0.7.RELEASE Regards paul -- 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+unsubsc

Re: "double barreled" surname search fails

2013-12-20 Thread paul
ill be > passed to a PUT request. I don't think I have a specific mapping - can you > recommend something I need to read up on? > > sb.Append("{ \"create\" : {\"_index\" : \"knowsleycitizen\", \"_type\" : > \"attendance\"

Re: "double barreled" surname search fails

2013-12-20 Thread paul
On Friday, 20 December 2013 14:45:45 UTC+5:30, Mark Perry wrote: > > Can anyone tell me why this search works: > > > {"query":{"bool":{"must":[{"term":{"chosenforename":"brian"}},{"term":{"surname":"jones"}},{"term":{"dob":"2002-02-12T00:00:00"}},{"range":{"eventstart":{"from":"2013-09-01T00:00:0

Auto complete Group Query

2013-12-20 Thread paul
When I search "elastic" in amazon it shows auto-complete with groups like "in books" can this be achieved in elastic search. I know to do auto complete on one field. -- You received this me

Re: "double barreled" surname search fails

2013-12-20 Thread paul
It depends on your mapping , can you show the mapping for your surname. Reagrds Avinash On Friday, 20 December 2013 14:45:45 UTC+5:30, Mark Perry wrote: > > Can anyone tell me why this search works: > > > {"query":{"bool":{"must":[{"term":{"chosenforename":"brian"}},{"term":{"surname":"jones"}},{

Facte Query

2013-12-20 Thread paul
Ned to club facets , i.e i am faceting for sports on multiple fields "menVaritySports" and "womenVaritySports" result is : Basketball - 3 Golf - 2 Baseball - 2 It should be Basketball - 2 i.e it should consider one "Basketball" if it comes under both men and women. is it possible to do that wa

Filter on outer object as well as Nested object

2013-12-19 Thread paul
My data looks like below . Need to filter on "progName" and "name" { "name":"avinash", "assistance":"yes", "amount":1, "programs":[ { "progName":"Agriculture", "BachelorsProgs":53, "subs":[ { "progName":"Agricultural Busin

Re: Analyzer for a field in a nested document?

2013-12-18 Thread paul
Hi Andrew, can you please post your mapping how did u provide analyzer to nested field , i am facing the same problem. Thanks Paul On Saturday, 16 June 2012 11:23:01 UTC+5:30, Andrew Cholakian wrote: > > Ah, figured it out, you can put further properties below the nested type. > &g

Re: Highlighter problem

2013-12-17 Thread avinash paul
Thank you Adrien , will read search-suggesters-completion and see whether it suits my requirement. Regards Paul On Tue, Dec 17, 2013 at 12:54 PM, Adrien Grand < adrien.gr...@elasticsearch.com> wrote: > I think the answer is in the content the content of the synonyms file. For >

Re: Highlighter problem

2013-12-16 Thread paul
}, "my_edgeNgram":{ "type":"edgeNGram", "min_gram":3, "max_gram":10 } } } Regards Paul On Monday, 16 December 2013 15:30:47 UTC+5:30, Adrien Grand wrote: > > Hi