lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <>
Subject Re: how to get TermVectorComponent using xml , vs. SOLR-949
Date Wed, 03 Nov 2010 00:59:03 GMT
TVC is in Solr 1.4 onwards. It is configured in
example/solr/conf/solrconfig.xml as 'tvrh'.
This is not a solr/url thing, so you have to say
solr/select?q=word&'qt=tvrh' and look at the bottom of the xml.

On Tue, Nov 2, 2010 at 5:34 AM, Will Milspec <> wrote:
> Hi all,
> This seems a basic question: what's the best way to get
> TermVectorComponents. from the Solr XmL response?
> SolrJ does not include TermVectorComponents in its api; the SOLR-949 patch
> adds this ability, but after 2 years it's still not in the mainline. (And
> doesn't patch cleanly to the current head 1.4).
> I'm new to Solr and familiar with the SolrJ but not as the best means for
> getting/parsing the raw xml.  (Typically I find the dtd and right code to
> parse the dom using the dtd. In this case I've seen a few examples, but
> nothing definiive)
> Our team would rather use the "out of the box" solr rather than manually
> apply patches and worry about consistency during upgrades...
> Thanks in advance,
> will

Lance Norskog

View raw message