Autocomplete and fs-river

hi all,

what is the best way to achieve autocomplete with elasticsearch,
Note: my documents are indexed from fsriver...

I want when the user types a word into the search bar, for example "app",
elasticsearch returns all possibilty that exist in the content of documents
exp: application, applicate ...

--yahia

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

It's not related to FSRiver.

That said, you should think of using EdgeNgram analyzer. See: http://www.elasticsearch.org/guide/reference/index-modules/analysis/edgengram-tokenfilter.html
And ask for facets.

But, you should be aware of the memory usage in that case. Doing facets on fields like comments or files that have a hug number of different values could require lot of memory.

It really depends on what you want to display to your user: filename or word. For filename, you don't need to build facets.

Also have a look at: http://jontai.me/blog/2013/02/adding-autocomplete-to-an-elasticsearch-search-application/

HTH

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 26 mars 2013 à 15:18, Ammar Yahia yahia.ammar.info@gmail.com a écrit :

hi all,

what is the best way to achieve autocomplete with elasticsearch,
Note: my documents are indexed from fsriver...

I want when the user types a word into the search bar, for example "app", elasticsearch returns all possibilty that exist in the content of documents exp: application, applicate ...

--yahia

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I want the autocomplete on keywords that exist in the content of document
(field content).
but requires a lot of memory, so the best way to do this is to use
EdgeNgram analyzer and facets is its?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

is there a way to make autocomplete only on headlines of documents ?

for exemple i have the following doc with the following content

  1. my first paragraph
    some words ......

  2. my second paragraph
    some words ......

if the user types "par", autocomplete is done only on the headlines of
document and returns only "my first paragraph", "my second paragraph"

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.