Hello.
I'm new to Solr and exploring its capabilities to use in my project.
I already implemented simple search and highlighting via Solr.
Now I need to implement search for related content.
As I understand the best way to do it is MoreLikeThis that I found
http://wiki.apache.org/solr/MoreLike
Instead of:
http://localhost:8983/solr/select?q=nid:7280&mlt=true&mlt.fl=title,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
Try:
http://localhost:8983/solr/mlt?q=nid:7280&mlt=true&mlt.fl=title,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
If that doesn't work, look at your solrconfig.xml a
Hi Geert-Jan,
Have you considered storing this data in an external data store and not Lucene
index? In other words, use the Lucene index only to index the content you need
to search. Then, when you search this index, just pull out the single stored
fields, the unique ID for each of top N hits
Laxmilal,
Make that q=cd+AND+media:movies
(this is just URL-encoding to be sure)
If that still returns 0 hits, try just q=media:movies
If that still returns 0 hits, you have your answer.
Hm, what's that qt=LM at the end? LM? Eh, eh, some custom handler? If so,
perhaps it is the source of the
Hi,
If you have enough RAM to load the whole index into RAM using RAMDirectory,
then you could also just use tmpfs to load your index in RAM... tmpfs exists
under Linux, Solaris, and BSD, I believe.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
F
Isn't MoreLikeThis only available in the 1.3-dev builds?
jds
On Dec 29, 2007 10:07 AM, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> Instead of:
>
> http://localhost:8983/solr/select?q=nid:7280&mlt=true&mlt.fl=title,body&mlt.mindf=1&mlt.mintf=1&fl=nid,title,score
>
> Try:
>
> http://localhost:898
Yes, have just noted it.
Added handler to solrconfig.xml, got java.lang.ClassNotFoundException:
solr.MoreLikeThisHandler, looked at javadoc for this and found it.
Will try to download 1.3-dev and try mlt there.
Thanks a lot.
John Stewart wrote:
Isn't MoreLikeThis only available in the 1.3-dev