On Tue, Apr 2, 2013 at 12:45 PM, andi rexha wrote:
> Hi Adrien,
> Thank you very much for the reply.
>
> I have two other small question about this:
> 1) Is "final int freq = docsAndPositions.freq();" the same with
> "iterator.totalTermFreq()" ? In my tests it returns the same result and from
>
u...@gmail.com
> Date: Tue, 2 Apr 2013 12:05:12 +0200
> Subject: Re: Term vector Lucene 4.2
> To: java-user@lucene.apache.org
>
> Hi Andi,
>
> Here is how you could retrieve positions from your document:
>
> Terms termVector = indexReader.getTermVector(docId, fieldN
Hi Andi,
Here is how you could retrieve positions from your document:
Terms termVector = indexReader.getTermVector(docId, fieldName);
TermsEnum reuse = null;
TermsEnum iterator = termVector.iterator(reuse);
BytesRef ref = null;
DocsAndPositionsEnum docsAndPositions = null;
The performance impact should only be at indexing time, unless you
actually retrieve the vectors for some number of hits at search time.
Mike
On Tue, Nov 30, 2010 at 2:28 PM, Maricris Villareal wrote:
> Hi,
>
> Could someone tell me the effect (if any) of having term vectors set to
> WITH_POSITI
Ok, thks. I read another time my question and it's normally I didn't
obtain any reply :D .Excuseme
My index contain fields like CONTAIN,GROUPID,USERID,TOOL.
My question is how can I do to obtain a list of terms contained in a
group of results. For example, I want all the terms in field CONTAIN
Daniel,
Not sure I understand your problem, could you expand on it more, please.
Daniel Cortes wrote:
Hi everybody,
How can I do to obtain Terms of an specific Querry( for example all
the terms of a specific group, field " ID_GROUP" )
The only thing that now I think to do is a search and obtai
This has been discussed previously. Here are the links
http://www.gossamer-threads.com/lists/lucene/java-user/9189#9189
http://www.gossamer-threads.com/lists/lucene/java-user/32362#32362
Hope that helps,
Rajesh Munavalli
On 3/1/06, Srikanth Kallurkar <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
>