On 03.02.2010, at 13:07, Ahmet Arslan wrote: >> i am doing some funky hackery inside DIH via javascript to >> make my autosuggest work. i basically split phrases and >> store them together with the full phrase: >> >> the phrase: >> "Foo Bar" >> >> becomes: >> >> Foo Bar >> foo bar >> {foo}Foo_Bar >> {bar}Foo_Bar > > What is the benefit of storing {foo}Foo_Bar and {bar}Foo_Bar? > Then how are you querying this to auto-suggest?
this way i can do a prefix facet search for the term "foo" or "bar" and in both cases i can show the user "Foo Bar" with a bit of frontend logic to split off the "payload" aka original data. regards, Lukas Kahwe Smith m...@pooteeweet.org