Re: completion suggester caching

2014-02-11 Thread Jorge Sanchez
typeahead expects back JSON, in the JSON you need to specify the tokens for the suggest so in my case I am returning tokens "jorge" and "jorge sanchez". If the user continues to type jorge then autocomplete would use these tokens to match. This is the JSON i reply with

Re: completion suggester caching

2014-02-10 Thread Jorge Sanchez
tant for the data being returned). > > > --Alex > > > On Sat, Feb 8, 2014 at 4:02 AM, Jorge Sanchez > > wrote: > >> Hi, >> >> really appreciate that you are looking into this. I got it working with >> elasticsearch-1.0.0.RC2 >> release. I don'

Re: completion suggester caching

2014-02-07 Thread Jorge Sanchez
> "offset" : 0, > "length" : 1, > "options" : [ { > "text" : "jorge", > "score" : 1.0, "payload" : {"userid":2,"grouporuser":"user"} > }, { >

Re: completion suggester caching

2014-02-07 Thread Jorge Sanchez
"suggest" : { "input": [ "markoff" ], "payload" : { "userid" : 3, "grouporuser": "user" } } }' post /gruppu/user/2?refresh=true { "name" : "jorge", "sugge

Re: completion suggester caching

2014-02-07 Thread Jorge Sanchez
Hi, I have this following version: elasticsearch-0.90.10 PS: I can open the server with public IP to be reachable from internet if you would like to see that behavior yourself. Regards, Jorge Dne pátek, 7. února 2014 12:25:13 UTC-6 Binh Ly napsal(a): > > Jorge, > > May I ask what version of E

completion suggester caching

2014-02-07 Thread Jorge Sanchez
t following: "user-suggest": [ { "text": "j", "offset": 0, "length": 1, "options": [ { "text": "jorge group", "score": 2, &q