Re: can't get moreLikeThis to work

2011-07-08 Thread Elaine Li
> You can add the "indent=true" parameter to the request to get a tidier > output. Firefox usually ignores tabs when showing XML, so I'd suggest to > choose "View page source" in that case. > The page source looks so much better. :) thanks! > The documentation seems to suggest to have stored=true

Re: can't get moreLikeThis to work

2011-07-08 Thread Juan Grande
Hi Elain, You can add the "indent=true" parameter to the request to get a tidier output. Firefox usually ignores tabs when showing XML, so I'd suggest to choose "View page source" in that case. The documentation seems to suggest to have stored=true for the fields > though, not sure why. > Maybe

Re: can't get moreLikeThis to work

2011-07-08 Thread Shawn Heisey
On 7/8/2011 8:08 AM, Elaine Li wrote: Guan and Koji, thank you both! After I changed to termVectors = true, it returns the results as expected. I flipped the stored=true|false for two fields: text and category_text and compared the results and don't see any difference. The documentation seems to

Re: can't get moreLikeThis to work

2011-07-08 Thread Erick Erickson
What browser are you using? Chrome and FireFox (and I think IE) have plugins that'll format XML and JSON right in the browser that helps with this a lot. Best Erick On Fri, Jul 8, 2011 at 10:08 AM, Elaine Li wrote: > Guan and Koji, thank you both! > > After I changed to termVectors = true, it re

Re: can't get moreLikeThis to work

2011-07-08 Thread Elaine Li
Guan and Koji, thank you both! After I changed to termVectors = true, it returns the results as expected. I flipped the stored=true|false for two fields: text and category_text and compared the results and don't see any difference. The documentation seems to suggest to have stored=true for the fie

Re: can't get moreLikeThis to work

2011-07-07 Thread Koji Sekiguchi
Plus, debugQuery=on would help you when using MLT after 3.1: https://issues.apache.org/jira/browse/SOLR-860 koji -- http://www.rondhuit.com/en/ (11/07/08 6:55), Juan Grande wrote: Hi Elaine, The first thing that comes to my mind is that neither the content nor the term vectors of "text" and "

Re: can't get moreLikeThis to work

2011-07-07 Thread Juan Grande
Hi Elaine, The first thing that comes to my mind is that neither the content nor the term vectors of "text" and "category_text" fields are being stored. Check the name of the parameter used to store the term vectors, which actually is "termVectors" and not "term_vectored" (see http://wiki.apache.o

can't get moreLikeThis to work

2011-07-07 Thread Elaine Li
Hi Folks, This is my configuration for mlt in solrconfig.xml name,text,category_text 2 1 3 1000 50 5000 true name,text,category_text I also defined the three fields to have term_vectored attribute in schema.xml When i su