Re: SuggestBox - return single word suggest

2013-10-25 Thread Jens
You just have to create a class that implements SuggestOracle and then provide it to the SuggestBox through one of its constructors. The SuggestOracle requires a single method to be implemented. That method gives you access to the "request" the user has made (query, result limits) and the metho

Re: SuggestBox - return single word suggest

2013-10-25 Thread Jostein
The question is how? Can you please point me to some examples and/or descriptions that explain how to do this? I need some more detailed advice. Thanks. -- Jostein kl. 13:13:53 UTC+2 onsdag 23. oktober 2013 skrev Jostein følgende: > > Hi, > I guess this is quite simple, but I cannot find out how

Re: SuggestBox - return single word suggest

2013-10-23 Thread Jens
You probably have to write your own SuggestBox oracle if multi word matching is not what you want. A custom "StreetNameOracle" could also ask your server to match the query string right in the database if you want to. -- J. -- You received this message because you are subscribed to the Google

SuggestBox - return single word suggest

2013-10-23 Thread Jostein
Hi, I guess this is quite simple, but I cannot find out how to do it. I have implemented a suggest box as this: MultiWordSuggestOracle oracle = new MultiWordSuggestOracle(); SuggestBox box = new SuggestBox(oracle); The suggestBox is populated with street addresses. Each address contains several