Most efficient "all documents" query?

2005-08-19 Thread Jeff Davis
I am using Lucene to index system and application log files. When a user first goes to the Log Viewer, I want them to see all log messages. From there, they can choose to search for something more specific. Since the "all" query will be by far the most frequently used one, I'd like to make it as

Re: QueryParser handling of backslash characters

2005-07-20 Thread Jeff Davis
; > Eyal > > > -Original Message- > > From: Erik Hatcher [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 20, 2005 22:38 PM > > To: java-user@lucene.apache.org > > Subject: Re: QueryParser handling of backslash characters > > > > > > On J

QueryParser handling of backslash characters

2005-07-19 Thread Jeff Davis
Hi, I'm seeing some strange behavior in the way the QueryParser handles consecutive backslash characters. I know that backslash is the escape character in Lucene, and so I would expect "" to match fields that have two consecutive backslashes, but this does not seem to be the case. The fields

Re: non-lexical comparisons

2005-07-07 Thread Jeff Davis
Have you considered left-padding your numbers with zeros to make each number a string of the same length? e.g., The number 5 would be indexed/queried as "5", which can be correctly compared to 10 ("00010"), 2345 ("02345"), etc. in a lexical comparison... Jeff On 7/7/05, Leos Literak <[EMAIL