Re: sort "missing" parameter from query string

2015-05-11 Thread sebastian
Is it possible to specify it from mapping? On Monday, May 11, 2015 at 5:05:27 PM UTC-3, sebastian wrote: > > Hello, > > Can I specify the sort "missing" parameter from query string? > > From body: > > { > "sort" : [ > { "

sort "missing" parameter from query string

2015-05-11 Thread sebastian
Hello, Can I specify the sort "missing" parameter from query string? >From body: { "sort" : [ { "price" : {"missing" : "_last"} }, ], "query" : { "term" : { "user" : "kimchy" } } } Thanks! -- Please update your bookmarks! We have moved to https://discuss.elast

Get a fixed random sample from all documents

2015-04-24 Thread Sebastian Rickelt
ppreciated. Cheers, Sebastian -- 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

issues with alias/routing name

2015-03-30 Thread sebastian
Hi, I created the following alias/routing ("users" is the index name, "user" is the type name): { "users": { "aliases": { "acme": { "filter": { "term": { "tenant": "acme" } }, "index_routing": "acme", "search_routing": "

reindex question

2015-03-27 Thread sebastian
Hi, Can I reindex the data into the same index/type? My goal is regenerate the mapping for specified index/type. 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

Re: Elasticsearch with JSON-array, causing serialize -error

2015-03-24 Thread sebastian
same issue here. Any clues? On Sunday, April 20, 2014 at 2:47:40 PM UTC-3, PyrK wrote: > > I'm using elasticsearch with mongodb -collection using elmongo > . I have a collection (elasticsearch > index's point of view json-array), that contains for example fiel

mappings: use wildcards from field name

2015-02-26 Thread sebastian
Hi, Can I create a mapping and use wildcards in the fields name? For example, I want to create a template with the following mapping: { "user": { "dynamic": "false", "properties": { "email": { "type":"string" }, "*_metadata": { "type": "object", "dynamic": "true" } } } } Then,

another multitenant scenario

2015-02-26 Thread sebastian
Hi guys! I'm looking to find the best indexing strategy for my multitenant data. Here is my scenario: - Tenants: > 1 - Each tenant has "User" documents where all of these docs have common fields, but also they have tenant-specific fields: - { tenant: "contoso", name: "peter",

how to avoid MapperParsingException?

2015-02-19 Thread sebastian
Hi, I'm indexing documents with the following structure: { "name": "peter", "email": "p...@p.com", "location": "MIA" } { "name": "mary", "email": "m...@m.com", "device": "ipad" } { "name": "mary", "email": "m...@m.com", "metadata": { ... } } As you can see, I only know the type for "name" and "e

Is there any correlation between ttl and version conflicts?

2014-10-30 Thread Sebastian
ueries are handled by only one of them. The other one is just a standby. The exceptions were thrown only after setting a ttl so I was wondering if there might be any correlation? Can any of you shed some light on that matter? Best regards, Sebastian -- View this message in context: http://elasticse

Re: Accessing Search Templates via Rest

2014-06-17 Thread Sebastian Gräser
t; > On Fri, Jun 13, 2014 at 9:51 AM, Sebastian Gräser > wrote: > >> so i guess its not possible? >> >> Am Dienstag, 10. Juni 2014 16:58:31 UTC+2 schrieb Sebastian Gräser: >> >>> Hello, >>> >>> maybe someone can help me. Is there a way to

Re: Accessing Search Templates via Rest

2014-06-13 Thread Sebastian Gräser
so i guess its not possible? Am Dienstag, 10. Juni 2014 16:58:31 UTC+2 schrieb Sebastian Gräser: > > Hello, > > maybe someone can help me. Is there a way to get the available search > templates via rest api? havent found a way yet, hope you can help me. > > Best regards &

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
frastructure Engineer > Campaign Monitor > email: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 12 June 2014 16:33, Sebastian Okser wrote: > >> I don't see data, but I see it searching for the shards in the log files. >> Other functionality r

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
ices, or are you saying > the indexed data in the shards is reappearing as well? > > Regards, > Mark Walkom > > Infrastructure Engineer > Campaign Monitor > email: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 12 June 2014 16:24, Sebastian Okser

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
ucture Engineer > Campaign Monitor > email: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 12 June 2014 16:10, Sebastian Okser wrote: > >> I should add that I have also tried uninstalling the RPM and reinstalling >> it. I used rpm -e elasticsearc

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
I should add that I have also tried uninstalling the RPM and reinstalling it. I used rpm -e elasticsearch-1.2.1 for the uninstall. On Thu, Jun 12, 2014 at 9:09 AM, Sebastian Okser wrote: > I originally installed it with: > > > cd ~ > wget > https://github.com/downl

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
ail: ma...@campaignmonitor.com > web: www.campaignmonitor.com > > > On 12 June 2014 16:00, Sebastian Okser wrote: > >> I should add that I want to do a 100% clean install it keeps trying to >> initiate a recovery which is creating problems. >> >> >> On Thu, Jun 12, 2014

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
I should add that I want to do a 100% clean install it keeps trying to initiate a recovery which is creating problems. On Thu, Jun 12, 2014 at 8:42 AM, Sebastian Okser wrote: > I tried deleting the directories an reinstalling but somehow it keeps > loading in my old environment even when

Re: Elasticsearch 1.2 Delete and Reinstall

2014-06-11 Thread Sebastian Okser
I tried deleting the directories an reinstalling but somehow it keeps loading in my old environment even when I try to rm -rf the directories after shutting down the server? Where is elasticsearch hiding these files? On Wed, Jun 11, 2014 at 7:41 PM, Ivan Brusic wrote: > Regarding your problem,

Accessing Search Templates via Rest

2014-06-10 Thread Sebastian Gräser
Hello, maybe someone can help me. Is there a way to get the available search templates via rest api? havent found a way yet, hope you can help me. Best regards Sebastian -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubs

Re: Multi DC cluster or separate cluster per DC?

2014-05-15 Thread Sebastian Łaskawiec
ve some more arguments or comments - please let us know :) Regards Sebastian W dniu poniedziałek, 12 maja 2014 20:02:35 UTC+2 użytkownik Deepak Jha napisał: > > Having a separate cluster is definitely a better way to go. OR, you can > control the shard, replica placement so that they are a

Re: Multi DC cluster or separate cluster per DC?

2014-05-10 Thread Sebastian Łaskawiec
Thanks for the answer! We've been talking with several other teams in our company and it looks like this is the most recommended and stable setup. Regards Sebastian W dniu środa, 7 maja 2014 03:23:43 UTC+2 użytkownik Mark Walkom napisał: > > Go the latter method and have two clusters

Multi DC cluster or separate cluster per DC?

2014-05-06 Thread Sebastian Łaskawiec
nged via REST api). Then we'd need to start whole cluster. So my question is: is it better to have one big ES cluster operating on both DCs or should we change our approach and create 2 separate clusters (and rely on database replication)? I'd be grateful for advice. Regards Sebastian --

Re: Match every token position in the field when using synonyms

2014-01-22 Thread Sebastian Briesemeister
I am also very keen on answer!! If you find a solution, let me know! Sebastian On Thursday, 16 January 2014 15:12:23 UTC+1, Dany Gielow wrote: > > In my Elasticsearch index I have documents that have multiple tokens at > the same position. > > I want to get a document back when I