OK. This is exactly what i did.
With a fresh download of solr 3.2
unpack and go to example directory
start solr: java -jar start.jar
the go to exampledocs and run: ./post.sh *xml
Then go here:
http://localhost:8983/solr/mlt?stream.body=electronics%20memory&mlt.fl=manu,cat&mlt.interestingTerms=list&mlt.mintf=0
Problem accessing /solr/mlt. Reason:
NOT_FOUND
The page gives no instructions on setting up mlt or the url is incorrect.
On 9/26/11 8:25 AM, Erick Erickson wrote:
Please don't say "it's just like the example". If it was,
then it would most likely be working.
If you don't take the time to show us what you've tried,
and the results you get back, then there's not much we
can do to help.
Best
Erick
On Mon, Sep 26, 2011 at 7:18 AM, dan whelan<d...@adicio.com> wrote:
On 9/24/11 12:17 PM, Erick Erickson wrote:
What version of Solr?
I am using solr 3.2
When you copied the default, did you set up
default values for MLT?
This is what I need help with.
"How should the request handler / solrconfig be setup?"
Showing us the request you used
The request is exactly the same as the url in the wiki using the example
solr / exampledocs
and the relevant portions of your
solrconifg file would help a lot, you might want to review:
http://wiki.apache.org/solr/UsingMailingLists
Best
Erick
On Thu, Sep 22, 2011 at 9:08 AM, dan whelan<d...@adicio.com> wrote:
I would like to use MLT and the content stream feature in solr like on
this
page:
http://wiki.apache.org/solr/MoreLikeThisHandler
How should the request handler / solrconfig be setup?
I enabled streaming and I set a requestHandler up by copying the default
request handler and I changed the name to:
name="/mlt"
but when accessing the url like the example on the wiki I get a NPE
because
q is not supplied
I'm sure I am just doing it wrong just not sure what.
Thanks,
dan