Re: Solr doesn't return TermVectors

2013-10-01 Thread Alessandro Benedetti
Nope, it's not the "last component" problem, but it's definetely the request handler problem, it was the same for me ... Switching to the /tvrh requesthandler solved my problem. We should update the wiki ! 2013/9/27 Shawn Heisey > On 9/27/2013 4:02 PM, Jack Krupansky wrote: > >> You are using

Re: Solr doesn't return TermVectors

2013-09-27 Thread Shawn Heisey
On 9/27/2013 4:02 PM, Jack Krupansky wrote: You are using "components" instead of "last-components", so you have to all search components, including the QueryComponent. Better to use "last-components". That did it. Thank you! I didn't know why this was a problem even with your note, until I

Re: Solr doesn't return TermVectors

2013-09-27 Thread Jack Krupansky
27, 2013 4:02 PM To: solr-user@lucene.apache.org Subject: Re: Solr doesn't return TermVectors On 9/27/2013 1:35 PM, Jack Krupansky wrote: You forgot the qt= parameter, such as on the wiki: http://localhost:8983/solr/select/?&qt=tvrh&q=includes:[* TO *]&fl=id And you need

Re: Solr doesn't return TermVectors

2013-09-27 Thread alibozorgkhan
Shawn !! That is it ! That fixed my problem, I changed name="tvrh" to name="/tvrh" and used http://localhost:8983/solr/mycol/tvrh instead and now it is returning the term vectors ! Thanx man -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-doesn-t-return-TermVectors-tp

Re: Solr doesn't return TermVectors

2013-09-27 Thread alibozorgkhan
Hi, - This is the part I added to the solrconfig.xml: true tvComponent - This is the result: 0 0 true *:* true tvrh xml 1 ipho

Re: Solr doesn't return TermVectors

2013-09-27 Thread Shawn Heisey
On 9/27/2013 1:35 PM, Jack Krupansky wrote: You forgot the qt= parameter, such as on the wiki: http://localhost:8983/solr/select/?&qt=tvrh&q=includes:[* TO *]&fl=id And you need the custom request handler, such as on the wiki: true tv

Re: Solr doesn't return TermVectors

2013-09-27 Thread Chris Hostetter
: http://localhost:8983/solr/mycol/select?q=id:1211&wt=json&indent=true&tv=true&qt=tvrh : : I see all the fields associated with id:1211. I unloaded my collection using : the "Core Admin" panel in solr, removed data and core.properties in my : collection, added the core again and imported the da

Re: Solr doesn't return TermVectors

2013-09-27 Thread alibozorgkhan
Hi Jack, With this query: http://localhost:8983/solr/mycol/select?q=id:1211&wt=json&indent=true&tv=true&qt=tvrh I see all the fields associated with id:1211. I unloaded my collection using the "Core Admin" panel in solr, removed data and core.properties in my collection, added the core again and

Re: Solr doesn't return TermVectors

2013-09-27 Thread Jack Krupansky
r 27, 2013 3:41 PM To: solr-user@lucene.apache.org Subject: Re: Solr doesn't return TermVectors Thanks for your reply, I actually added that before and it didn't work. I tried it again and no luck. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-d

Re: Solr doesn't return TermVectors

2013-09-27 Thread alibozorgkhan
Thanks for your reply, I actually added that before and it didn't work. I tried it again and no luck. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-doesn-t-return-TermVectors-tp4092397p4092403.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr doesn't return TermVectors

2013-09-27 Thread Jack Krupansky
PM To: solr-user@lucene.apache.org Subject: Solr doesn't return TermVectors I followed http://wiki.apache.org/solr/TermVectorComponent step by step but with the following request, I don't get any term vectors: http://localhost:8983/solr/mycol/select?q=id:1211&wt=json&indent=tr

Solr doesn't return TermVectors

2013-09-27 Thread alibozorgkhan
I followed http://wiki.apache.org/solr/TermVectorComponent step by step but with the following request, I don't get any term vectors: http://localhost:8983/solr/mycol/select?q=id:1211&wt=json&indent=true&tv=true Just to be sure, I have this in my schema: In my solrconfig, I have this: