Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 54988 invoked from network); 19 Oct 2004 15:23:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Oct 2004 15:23:05 -0000 Received: (qmail 32588 invoked by uid 500); 19 Oct 2004 15:22:37 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 32455 invoked by uid 500); 19 Oct 2004 15:22:34 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 32338 invoked by uid 99); 19 Oct 2004 15:22:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [193.62.196.100] (HELO maui.ebi.ac.uk) (193.62.196.100) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Oct 2004 08:22:31 -0700 Received: from SILK (silk.dhcp.ebi.ac.uk [172.22.69.6]) by maui.ebi.ac.uk (8.11.7+Sun/8.11.7) with SMTP id i9JFMPF18530 for ; Tue, 19 Oct 2004 16:22:25 +0100 (BST) From: "Rupinder Singh Mazara" To: "Lucene Users List" Subject: Null or no analyzer Date: Tue, 19 Oct 2004 16:23:15 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-EBI-Information: This email is scanned using www.mailscanner.info. X-EBI: Found to be clean X-EBI-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All I have a question regarding selection of Analyzer's during query parsing i have three field in my index db_id, full_text, subject all three are indexed, however while indexing I specified to lucene to index db_id and subject but not tokenize them I want to give a single search box in my application to enable searching for documents some query can look lile "motor cross rally" this will get fed to QueryParser to do the relevent parsing however if the user enters Jhon Kerry subject:"Elections 2004" I want to make sure that No analyzer is used fro the subject field ? how can that be done. this is because I expect the users to know the subject from a List of controlled vocabularies and also I am searching for documents that have the exact subject I tried using the "PerFieldAnalyzerWrapper", but how do I get hold a Analyzer that does nothing but pass the text trough to the Searcher ? --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org