[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: Find related words
From:       Koji Sekiguchi <koji () r ! email ! ne ! jp>
Date:       2013-07-04 14:30:39
Message-ID: 51D5870F.7000908 () r ! email ! ne ! jp
[Download RAW message or body]

You may want collocations a given word? I've implemented LUCENE-474 for Solr
a while ago and I found it worked pretty well.

https://issues.apache.org/jira/browse/LUCENE-474

Hope this helps.

koji
-- 
http://soleami.com/blog/automatically-acquiring-synonym-knowledge-from-wikipedia.html

(13/07/04 21:09), Dotan Cohen wrote:
> How might one find the top related words for a given word in a Solr index?
>
> For instance, given the following single-field documents:
> 1: I love chocolate
> 2: I love Solr
> 3: I eat chocolate cake
> 4: You will eat chocolate candy
>
> Thus, given the word "Chocolate" Solr might find these top words:
> I (3 times matched)
> eat (2 times matched)
> love, cake, you, will, candy (1 time each)
>
> Thanks!
>
> --
> Dotan Cohen
>
> http://gibberish.co.il
> http://what-is-what.com
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic