lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Johnson <jej2...@gmail.com>
Subject Re: TermVectors and custom queries
Date Thu, 30 Jun 2011 20:53:15 GMT
Perhaps a better question, is this possible?

On Mon, Jun 27, 2011 at 5:15 PM, Jamie Johnson <jej2003@gmail.com> wrote:
> I have a field named content with the following definition
>
>    <field name="content" type="text" indexed="true" stored="true"
> multiValued="true" termVectors="true" termPositions="true"
> termOffsets="true"/>
>
> I'm now trying to execute a query against content and get back the term
> vectors for the pieces that matched my query, but I must be messing
> something up.  My query is as follows:
>
> http://localhost:8983/solr/select/?qt=tvrh&q=content:test&fl=content&tv.all=true
>
> where the word test is in my content field.  When I get information back
> though I am getting the term vectors for all of the tokens in that field.
> How do I get back just the ones that match my search?
>

Mime
View raw message