I'm working on an autocomplete input similar to what twitter uses.
I need to have the matching users I follow at the top of the list (see yellow highlight on the screenshot)
have you seen the search as you type datatype? This allows you to write a regular query and may remove the need for the completion suggester (as it's also quite fast). The advantage of this is the ability to use arbitrary queries. For example you could have a boolean query, that consists of a must part of your regular search and then have a should clause to boost scoring, that contains the followers of the user executing the query. A terms lookup query might help you here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.