Re: [Contribution] Multiword Inline-Prefix Autocomplete Idea

2011-05-20 Thread mtraynham
text: http://lucene.472066.n3.nabble.com/Contribution-Multiword-Inline-Prefix-Autocomplete-Idea-tp2965854p2966836.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [Contribution] Multiword Inline-Prefix Autocomplete Idea

2011-05-20 Thread Mike Sokolov
Cool! suggestion: you might want to replace externalVal.toLowerCase().split(" "); with externalVal.toLowerCase().split("\\s+"); also I bet folks might have different ideas about what to do with hyphens, so maybe: externalVal.toLowerCase().split("[-\\s]+"); In fact why not make it a config

[Contribution] Multiword Inline-Prefix Autocomplete Idea

2011-05-20 Thread mtraynham
esentation */ @Override public String indexedToReadable(String indexedForm) { return indexedForm.substring(indexedForm.lastIndexOf(DELIMITER) + 1); } } -- View this message in context: http://lucene.472066.n3.nabble.com/Contribution-Multiword-Inline-Prefix-Autocomplete-