Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 98587 invoked from network); 25 Aug 2006 13:27:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 13:27:26 -0000 Received: (qmail 95068 invoked by uid 500); 25 Aug 2006 13:27:19 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 95049 invoked by uid 500); 25 Aug 2006 13:27:18 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 95038 invoked by uid 99); 25 Aug 2006 13:27:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 06:27:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mbraun@uni-hd.de designates 129.206.100.212 as permitted sender) Received: from [129.206.100.212] (HELO relay.uni-heidelberg.de) (129.206.100.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 06:27:17 -0700 Received: from serv25.ub.uni-heidelberg.de (serv25.ub.uni-heidelberg.de [147.142.186.75]) by relay.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id k7PDQtjt028959 for ; Fri, 25 Aug 2006 15:26:55 +0200 Received: from localhost (localhost [127.0.0.1]) by serv25.ub.uni-heidelberg.de (Postfix) with ESMTP id 7BA2B8BA0E for ; Fri, 25 Aug 2006 15:26:55 +0200 (CEST) Received: from serv25.ub.uni-heidelberg.de ([127.0.0.1]) by localhost (serv25.ub.uni-heidelberg.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20443-08 for ; Fri, 25 Aug 2006 15:26:54 +0200 (CEST) Received: from [147.142.85.36] (pers16.ub.uni-heidelberg.de [147.142.85.36]) by serv25.ub.uni-heidelberg.de (Postfix) with ESMTP id 4BBF78B9C4 for ; Fri, 25 Aug 2006 15:26:54 +0200 (CEST) Message-ID: <44EEFA8E.7040401@uni-hd.de> Date: Fri, 25 Aug 2006 15:26:38 +0200 From: Martin Braun Reply-To: mbraun@uni-hd.de User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: what do i get with FieldCache.DEFAULT.getStrings(...); Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ub.uni-heidelberg.de X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hello, I am using FieldCache.DEFAULT.getStrings in combination with an own HitCollector (I loop through all results and count the number of occurences of a fieldvalue in the results). My Problem is that I have Filed values like dt.|lat or ger.|eng. an it seems that only the last token of the fields value is stored in the returned array of FieldCache.DEFAULT.getStrings(is.getIndexReader(), category). But both values are Stored in the Index (I can find dt. and lat.) The same issue is with another field which contains the word cd-rom an I get only "rom" back. Is this an Analyzer Problem? How do I get all tokens? tia, martin --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org