Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 98100 invoked from network); 17 Sep 2005 12:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Sep 2005 12:30:39 -0000 Received: (qmail 59643 invoked by uid 500); 17 Sep 2005 12:30:35 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 58945 invoked by uid 500); 17 Sep 2005 12:30:33 -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 58825 invoked by uid 99); 17 Sep 2005 12:30:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 05:30:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.61.132.12] (HELO server1.livestoryboard.com) (209.61.132.12) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 05:30:41 -0700 Received: from [127.0.0.1] (livestoryboard.com [209.61.132.12] (may be forged)) (authenticated) by server1.livestoryboard.com (8.11.6/8.11.6) with ESMTP id j8HCVmg20211 for ; Sat, 17 Sep 2005 07:31:48 -0500 Message-ID: <432C0C5D.9010203@koberg.com> Date: Sat, 17 Sep 2005 08:30:21 -0400 From: Robert Koberg User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: query with wildcard in field name? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Is there a Query that will allow wildcards in the field name? For example, lets say I have documents with the following fields: Field Name = Field Value - Doc 1 /faq/question/a = foo - Doc 2 /article/section/p/a = foo Is there a way to build a query like: QueryParser.parse( "foo", "/*/a", myAnalyzer ); Is this possible with lucene now? (is svn.apache.org down? I can't seem to connect to the repository server to get the latest source.) Is having a wildcard in a field name something that is even feasible? If feasible, any suggestions on how to add this feature to lucene? thanks, -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org