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

List:       solr-user
Subject:    Find related words
From:       Dotan Cohen <dotancohen () gmail ! com>
Date:       2013-07-04 12:09:57
Message-ID: CAKDXFkO_bSXzNd9HbOXR62c85di1FdJ5Z0uAfaVeUTWONH5fgQ () mail ! gmail ! com
[Download RAW message or body]

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