You can use the spelling dictionary feature for auto-complete. This is actually more useful than facet.prefix because normal people are not perfect spellers. (It would be even more useful based on phonemes, but I haven't figured out how to do that yet.)
On Tue, Jan 19, 2010 at 6:28 PM, Erik Hatcher <erik.hatc...@gmail.com> wrote: > > On Jan 19, 2010, at 3:55 PM, Otis Gospodnetic wrote: >>> >>> a search "quality" meter. As in indicate the total number of matches >>> (doesnt >>> need to be accurate, just a ballpark figure especially if there are a lot >>> of >>> matches) >> >> As in, you want each suggestion include the number of documents it would >> match if that suggestion would be run as the query? >> Wouldn't that require one to execute that query, so if you want to show 10 >> suggestions, you'd hit Solr 10 times? > > Not if you use faceting with the facet.prefix capability :) It gives back > counts per term suggested. > > Erik > > -- Lance Norskog goks...@gmail.com