Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 74474 invoked from network); 8 Jul 2002 20:38:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Jul 2002 20:38:04 -0000 Received: (qmail 12057 invoked by uid 97); 8 Jul 2002 20:38:19 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 12026 invoked by uid 97); 8 Jul 2002 20:38:18 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 12012 invoked by uid 98); 8 Jul 2002 20:38:17 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) To: lucene-dev@jakarta.apache.org Date: Mon, 08 Jul 2002 13:37:53 -0700 From: "none none" Message-ID: Mime-Version: 1.0 X-Sent-Mail: off Reply-To: korfut@lycos.com X-Mailer: MailCity Service X-Priority: 3 Subject: Term Positions X-Sender-Ip: 64.187.36.2 Organization: Lycos Mail (http://www.mail.lycos.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi, is there any way to have back a vector or an hashtable with the term positions inside the Document? e.g.: Document doc = hits.doc(i); HashTable tpos = doc.getTermPositions(); I know the position is not the actual offset but is just the occurrence inside the text (1st , 2nd, etc. word) based on the Analyzer we used to build the index, but it is fine... ...have the offset will be great. Any ideas? what should i change? I am wrong or this should be in the next release? If someone explain to me a little bit i can do and send the code to the mailing list. thank you. bye. _____________________________________________________ Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads and NoTaglines --> LYCOS MAIL PLUS. http://www.mail.lycos.com/brandPage.shtml?pageId=plus -- To unsubscribe, e-mail: For additional commands, e-mail: