Re: How can I list all the terms from a document?

2016-09-16 Thread szzoli
Thank you. I am afraid that Lucene code is so poorly documented that only reading the API I will not get closer to the solution. Could you please give me some more hints how to achieve that? Maybe some code samples? I do not know how can I use the TermVector for indexing. Serching code have I mad

Re: How can I list all the terms from a document?

2016-09-16 Thread Cristian Lorenzetto
interesting question :) 2016-09-16 13:30 GMT+02:00 szzoli : > Thank you. > > I am afraid that Lucene code is so poorly documented that only reading the > API I will not get closer to the solution. > > Could you please give me some more hints how to achieve that? Maybe some > code samples? > I do

Re: How can I list all the terms from a document?

2016-09-16 Thread szzoli
If I have a TermVector, is it possible to give it a filename, so that it could enumerate through ll the terms? (I need the number of occurances in the document, too.) -- View this message in context: http://lucene.472066.n3.nabble.com/How-can-I-list-all-the-terms-from-a-document-tp4294797p42964

Re: How can I list all the terms from a document?

2016-09-16 Thread Ahmet Arslan
Hi, I thought the link/url below has the example code, no? http://makble.com/what-is-term-vector-in-lucene If not, in the source tree, under the tests folder, there should be some test cases for termVectors, which can be used as en example code. I guess internal lucene document id, which easy