Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 76342 invoked from network); 13 Aug 2008 02:57:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 02:57:44 -0000 Received: (qmail 8750 invoked by uid 500); 13 Aug 2008 02:57:40 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 7763 invoked by uid 500); 13 Aug 2008 02:57:37 -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 7752 invoked by uid 99); 13 Aug 2008 02:57:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2008 19:57:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.38.55] (HELO web50301.mail.re2.yahoo.com) (206.190.38.55) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 13 Aug 2008 02:56:39 +0000 Received: (qmail 80540 invoked by uid 60001); 13 Aug 2008 02:57:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=ZYlWMdii2XIe0nrzvDRjHs7R45v+w+5fqIJ/brwwqBTkGnADW7q/skuMmJ49ZQ/ZQsqDoKK2EhQ88TG7kDPikTm/55GGtzD9WNZ5G5TZRzxULwjTMwrl793CnJV5bBaAw49EdpPtGcqMixejyX5Krjl5KeZh+oqKh9ZB7KvSDQA=; Received: from [72.227.164.48] by web50301.mail.re2.yahoo.com via HTTP; Tue, 12 Aug 2008 19:57:06 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Tue, 12 Aug 2008 19:57:06 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Searching Tokenized x Un_tokenized To: java-user@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <761271.80262.qm@web50301.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Andre, Check the Lucene FAQ, there is an entry about wildcards and analysis (which doesn't take place for wildcard queries). Could that be it? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Andre Rubin > To: java-user@lucene.apache.org > Sent: Tuesday, August 12, 2008 5:30:47 PM > Subject: Re: Searching Tokenized x Un_tokenized > > My searches for my String tokenized field was working properly. I > switched the field to un_tokenized, rebuilt the index, and now my > searches only return strings that match the query string in lower > case. > > For example, searching for 'us*': > > The tokenized field version would find 'USA' and 'usa' > > The untokenized field version only finds 'usa' > > I'm using the StandardAnalyzer in both cases. > > Thanks > > > Andre > > On Thu, Aug 7, 2008 at 8:16 PM, Otis Gospodnetic > wrote: > > Hi, > > > > Perhaps you can give some examples. Yes, untokenized means "full string" - it > requires an "exact match". > > > > Otis > > -- > > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > > > > > ----- Original Message ---- > >> From: Andre Rubin > >> To: java-user@lucene.apache.org > >> Sent: Thursday, August 7, 2008 8:04:04 PM > >> Subject: Searching Tokenized x Un_tokenized > >> > >> Hi all, > >> > >> When I switched a String field from tokenized to untokenized, some > >> searches started not returning some obvious values. Am I missing > >> something on querying untokenized fields? Another question is, do I > >> need an Analyzer if my search is on an Untokenized field, wouldn't the > >> search be based on the full String rather than its tokens? > >> > >> Thanks, > >> > >> > >> Andre > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > >> For additional commands, e-mail: java-user-help@lucene.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > > For additional commands, e-mail: java-user-help@lucene.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org