Hi Christian,

Have you found how to solve your question?..It's really hard to think that 
is not possible to do that with ElasticSearch. We have been also trying to 
achieve that, but no luck till today.

Thanks in advance,

Regards,

Izzat

El lunes, 30 de junio de 2014, 10:32:54 (UTC+1), Christian Rütgers escribió:
>
> After I had read > 100 articles, blog-posts, documentation pages and much 
> more I'll ask the community but still wonder where my blind spot is, if I 
> had overseen the obvious.
>
> I want to create search-suggestions on how to complete a term based on 
> tokens, similar to g*oogle like autocomplete* but only with one token or 
> word.
>
> I'd like to search across filenames who will get tokenized. E.g. 
> "BRAND_Connect_A1233.jpg" gets tokenized into "brand", "connect", "a1234" 
> and "jpg".
>
> Now I'd like to ask for some suggestion for e.g. "*Con*". The suggestion 
> should deliver the matching tokens, not the full filename:
>
>    - Connect
>    - Contour
>    - Concept
>    - ...
>
> The suggestion for "*A12*" should be "A1234", "A1233", "A1233" ...
>
> I created a complete test scenario, available at Gist: 
> https://gist.github.com/165a707a1e628caac73d.git
>
> Some remarks about the example:
>
>    - Working with queries, facet and filters works fine. The example is a 
>    minimized version of a much more complex scenario.
>    - Various approaches to get the desired suggestion does not deliver 
>    the expected results. I had tried to name the analyzers and tried various 
>    combinations of analyzers and wildcards. 
>
> Any help, pointer or working example will be highly appreciated.
>
> Kind regards,
> Christian
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/15cf562b-46f9-49db-b203-5e1076237b65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to