# Completion Suggester with Partial Word Suggestions

**URL:** <https://discuss.elastic.co/t/completion-suggester-with-partial-word-suggestions/18330>\
**Category:** Elasticsearch\
**Created:** [June 25, 2014, 1:00pm UTC](https://discuss.elastic.co/t/completion-suggester-with-partial-word-suggestions/18330 "2014-06-25T13:00:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Goldenstein](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_goldenstein/32/959_2.png) [@Mark\_Goldenstein](https://discuss.elastic.co/u/Mark_Goldenstein)\
**Post date:** [June 25, 2014, 1:00pm UTC](https://discuss.elastic.co/t/completion-suggester-with-partial-word-suggestions/18330/1 "2014-06-25T13:00:39Z")

</div>

I have an index which (among others) contains the following fields:

- title
- authors
- suggest

I'm copying the _title_ and the _authors_ fields into _suggest_ with copy\_to.  
Now I've noticed that I do not get suggestions when I type in the last name  
of an author - which makes sense because the completion suggester is a  
prefix suggester. However, I'd like to extend it to also work with last  
names in this example.

As I see it, there are two options:

1. Index _Stephenie Meyer_ as both _Stephenie Meyer_ and just _Meyer_ in  
the _suggest_ field.
2. Not use a suggester but instead use a search for completion, as  
described here  
[http://blog.qbox.io/multi-field-partial-word-autocomplete-in-elasticsearch-using-ngrams](http://blog.qbox.io/multi-field-partial-word-autocomplete-in-elasticsearch-using-ngrams)  
.

It seems to me that the first option is preferable since it makes use of  
FSTs and is therefore much faster. However, how can I make Elasticsearch  
copy the _title_ and _authors_ field into _suggest_ accordingly? Or is this  
only possible by manually creating the suggest field myself (instead of  
using an Elasticsearch feature like copy\_to)?

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b441ea9b-8217-478b-88c9-9fd633c49e1f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b441ea9b-8217-478b-88c9-9fd633c49e1f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:19am UTC](https://discuss.elastic.co/t/completion-suggester-with-partial-word-suggestions/18330/2 "2017-07-06T01:19:52Z")

</div>

Closed on July 6, 2017, 1:19am UTC


