Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8565A4B4F for ; Tue, 5 Jul 2011 21:47:51 +0000 (UTC) Received: (qmail 37788 invoked by uid 500); 5 Jul 2011 21:47:51 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 37449 invoked by uid 500); 5 Jul 2011 21:47:49 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Delivered-To: moderator for general@lucene.apache.org Received: (qmail 32864 invoked by uid 99); 5 Jul 2011 21:46:04 -0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of serendipity0306@gmail.com) Date: Tue, 5 Jul 2011 14:45:38 -0700 (PDT) From: serendipity0306 To: general@lucene.apache.org Message-ID: <1309902338951-3142651.post@n3.nabble.com> Subject: How to explicit indexing a term with its weight for each document? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have manually pre-processed many documents into the following format: termA weightA termB weightB termC weightC The weight is a float number. I have already manually built a term vector for each document. My question is: How can I index the term vector into Lucene? best, serendipity -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-explicit-indexing-a-term-with-its-weight-for-each-document-tp3142651p3142651.html Sent from the Lucene - General mailing list archive at Nabble.com.