Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@apache.org Received: (qmail 42539 invoked from network); 29 Aug 2002 17:25:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Aug 2002 17:25:41 -0000 Received: (qmail 1025 invoked by uid 97); 29 Aug 2002 17:26:11 -0000 Delivered-To: qmlist-jakarta-archive-lucene-dev@jakarta.apache.org Received: (qmail 976 invoked by uid 97); 29 Aug 2002 17:26:10 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 957 invoked by uid 98); 29 Aug 2002 17:26:09 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Thu, 29 Aug 2002 10:25:38 -0700 From: Brian Goetz To: Lucene Developers List Subject: Re: [Bug 12137] New: - Can '*' or '?' symbol be used as the first character of a search? Message-ID: <20020829102538.A6001@lx.quiotix.com> Mail-Followup-To: Lucene Developers List References: <818623B5FD23D51193200002B32C076106FE47AC@excsrv44.mayo.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <818623B5FD23D51193200002B32C076106FE47AC@excsrv44.mayo.edu>; from Armbrust.Daniel@mayo.edu on Thu, Aug 29, 2002 at 11:19:45AM -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > However, it seems to lead to a bug report every few weeks.... Actually, there are very few bug reports for the query parser. But there are a LOT of "I want it to work this way, because that would be more convenient for MY application." I guess that means a lot of people are using it :) And a lot of feature enhancement requests, some of which are sensible requests. > Given the number of times the question is asked, something probably > should be changed... Yes, probably the FAQ! > but I don't know which solution that has been given so far should be > used (if any) since they all have significant downsides. There's a tremendous downside to having more than one query parser, even those in "contributions", unless they are radically different from each other. (I would welcome a query parser that took a different approach to query specification -- but I am pretty resistent to those that look a lot like the one we have already.) To name a few risks, there is the confusion risk (new users picks the wrong one with bad results, both for the user, and for the reputation of the project as a whole), the support cost of maintaining more than one, the obligation to document each and their differences, etc. > As an app developer, I would have to lean toward "make it easy for > me - aka make the query parser do the work". Understood. Its always attractive to push your work onto someone else, no doubt. And as a project maintainer, I don't even mind this, when I think that work is beneficial to rest of the community as well. And in this particular case, its not even "work", as the modification is trivial. However, here's an example where we, as a group, thought that this particular "benefit" is harmful to the community. And, I think if you hang out here long enough, you'll think that too. What you're saying is "I'm comfortable taking the risks of using the chainsaw." And that's fine -- please be careful. But as maintainers (and stewards), we have to be a little more careful with tools that are designed for use by users who know nothing about search engine internals, which is what the query parser is. So feel free to take the query parser and modify it for your needs, and call it DansModifiedQueryParser. But that doesn't make it appropriate for calling it the default query parser. -- To unsubscribe, e-mail: For additional commands, e-mail: