Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 66491 invoked from network); 25 Sep 2009 17:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Sep 2009 17:42:53 -0000 Received: (qmail 12304 invoked by uid 500); 25 Sep 2009 17:42:51 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 12242 invoked by uid 500); 25 Sep 2009 17:42:50 -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 12232 invoked by uid 99); 25 Sep 2009 17:42:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:42:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcmuir@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2009 17:42:42 +0000 Received: by an-out-0708.google.com with SMTP id b2so1006484ana.5 for ; Fri, 25 Sep 2009 10:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=cJ1NiawsWgPgBA5oY7J1XVuY7lbNQ/J0pO2cz5mUULo=; b=SBo1uLEIS9KFsXFg/T8KLTeyVwE3xRqRdlqNqDOX3PZ0HTfqwIIVjmLea7tIV8tVdT Q1260478KgHQ54MS8oVKFrL0KUhHVUGFEvCdjLtJjzAMLY2ldc8thoApdgtkX2hSFG/s HVLqphfrwvRQHd0qteBoEr9fctqIRJrDzq3TU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=MGeiGsDgPPY0S8ycSJwuH7zyKxWqS8zbsuK9SrW0UzhEok63yPgRAbzkNI+MohS10Y i0heqbIerhSDtFHc065o+gjgQTaRu37EyDiWn1iNvnp7pux/PHrLw9Lu0PI8ZG5v6YHz pqooiJHAiDuBqPVjsn0xtNkLGZlx7VX/N3GmQ= MIME-Version: 1.0 Received: by 10.100.24.37 with SMTP id 37mr510704anx.45.1253900542071; Fri, 25 Sep 2009 10:42:22 -0700 (PDT) In-Reply-To: <14f35510909251038t114626a0red4f4c49606ada22@mail.gmail.com> References: <14f35510909251011u5f6a036w5323f34f32c6a292@mail.gmail.com> <14f35510909251038t114626a0red4f4c49606ada22@mail.gmail.com> Date: Fri, 25 Sep 2009 13:42:22 -0400 Message-ID: <8f0ad1f30909251042w233220f6md6705ffd6715cc6d@mail.gmail.com> Subject: Re: Search with whitespaces From: Robert Muir To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016e646916a64d60d04746a7889 X-Virus-Checked: Checked by ClamAV on apache.org --0016e646916a64d60d04746a7889 Content-Type: text/plain; charset=UTF-8 i might suggest the shingle package in lucene's contrib for this case. > like to do it for a general case, like trying to search the words joining > > the word before or after. > > > > How could I do that? Is there an analyzer which tokenize like that? > > > > Thank you > > > > > > Alex > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > > For additional commands, e-mail: java-user-help@lucene.apache.org > > > > > > > -- > Alex > -- Robert Muir rcmuir@gmail.com --0016e646916a64d60d04746a7889--