Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 93728 invoked from network); 18 Nov 2002 20:04:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Nov 2002 20:04:01 -0000 Received: (qmail 18505 invoked by uid 97); 18 Nov 2002 20:05:02 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 18451 invoked by uid 97); 18 Nov 2002 20:05:01 -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 18439 invoked by uid 98); 18 Nov 2002 20:05:00 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Rob Outar" To: "Lucene Users List" Subject: RE: Not getting any results from query Date: Mon, 18 Nov 2002 15:02:41 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <20021118195202.449.qmail@web12708.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Does not work either, I think it has something to do with the space between the two words. This fails test r* but test*r* works. Understanding how the internal of Lucene work is one difficult task but this group does help a lot. Thanks, Rob -----Original Message----- From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com] Sent: Monday, November 18, 2002 2:52 PM To: Lucene Users List Subject: RE: Not getting any results from query How does releaseability:test r* work? Returns anything? http://www.jguru.com/faq/view.jsp?EID=538312 Otis --- Rob Outar wrote: > I did not see where it said that I saw this: > 'AND', 'OR', 'NOT', and FieldNames are case sensitive. Terms are case > sensitive unless the lower case token filter is used during indexing > and > search. > Field names are case sensitive. > > Even if it is the query: > > releaseability:Test R* > > should be valid. > > Thanks, > > Rob > > > -----Original Message----- > From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com] > Sent: Monday, November 18, 2002 1:53 PM > To: Lucene Users List > Subject: RE: Not getting any results from query > > > Aren't wildcards case sensitive? Check the FAQ. > > Otis > > --- Rob Outar wrote: > > Thanks for all the good information/advice everyone, have one more > > little > > thing, below is my analyzer: > > > > public TokenStream tokenStream(String field, final Reader reader) > { > > // do not tokenize any field > > TokenStream t = new CharTokenizer(reader) { > > protected boolean isTokenChar(char c) { > > return true; > > } > > }; > > //case insensitive search > > t = new LowerCaseFilter(t); > > return t; > > } > > > > Field name = releaseability Value = "Test Releaseability"; > > > > How the field is set up: > > > > doc.add(new Field("releaseability", "Test Releaseability", > true, > > true, > > true)); > > > > This query works: > > > > releaseability:Test* > > > > however this one does not: > > > > releaseability:Test R* > > > > Any ideas why? > > > > Thanks, > > > > Rob > > > > > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: