lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R. Tan" <tanrihae...@gmail.com>
Subject SpellCheck with filter/conditions
Date Wed, 07 Oct 2009 10:17:52 GMT
Sorry, newbie here, figured it out.

How do you get spelling suggestions on a specific resultset, filtered by a
certain facet for example?


On Wed, Oct 7, 2009 at 8:43 AM, R. Tan <tanrihaed58@gmail.com> wrote:

> Nice. In comparison, how do you do it with faceting?
>
>> "Two other approaches are to use either the TermsComponent (new in Solr
>> 1.4) or faceting."
>
>
>
> On Wed, Oct 7, 2009 at 1:51 AM, Jay Hill <jayallenhill@gmail.com> wrote:
>
>> Have a look at a blog I posted on how to use EdgeNGrams to build an
>> auto-suggest tool:
>>
>> http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
>>
>> You could easily add filter queries to this approach. Ffor example, the
>> query used in the blog could add filter queries like this:
>>
>> http://localhost:8983/solr/select/?q=user_query:
>> ā€iā€&wt=json&fl=user_query&indent=on&echoParams=none&rows=10&sort=count
>> desc&fq=yourField:yourQuery&fq=anotherField:anotherQuery
>>
>> -Jay
>> http://www.lucidimagination.com
>>
>>
>>
>>
>> On Tue, Oct 6, 2009 at 4:40 AM, R. Tan <tanrihaed58@gmail.com> wrote:
>>
>> > Hello,
>> > What's the best way to get auto-suggested terms/keywords that is
>> filtered
>> > by
>> > one or more fields? TermsComponent should have been the solution but
>> > filters
>> > are not supported.
>> >
>> > Thanks,
>> > Rihaed
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message