Re: FieldCache parser

2005-05-10 Thread Rasik Pandey
Nice approach. Should SortComparatorSource include a new method decl for SortComparatorSource.newComparator (IndexReader reader, String fieldname, Object valueParser) ? RBP On 5/10/05, Doug Cutting <[EMAIL PROTECTED]> wrote: > Attached is a patch that makes it possible to supply a user-specified

Re: constant scoring queries

2005-05-10 Thread Yonik Seeley
Hey now... you're going to obsolete all my in-house code and put me out of a job ;-) Could you elaborate on the advantage of having say a TermQuery that could be either normal-scoring or constant-scoring vs two different Query classes for doing this? They seem roughly equivalent. > 1. Add two m

Re: FieldCache parser

2005-05-10 Thread Yonik Seeley
This does solve one problem I was having. There are still a few issues I still need to solve: - double and long support? - Sorting support for multiple indexed fields mapped onto a single field using fieldname=fieldvalue.For example, when field "x" is specified, I actually need just a slice

Re: multi-field highlighting

2005-05-10 Thread markharw00d
Doug Cutting wrote: Shouldn't the search code already take care of that? No, the search may return documents that happen to contain "Doug Cutting" and Google - the current highlighter implementation uses all query terms (ignoring any AND/OR() operators) and looks for matches. Ideally "Doug Cut

RE: constant scoring queries

2005-05-10 Thread Robert Engels
I did the nearly the exact same thing in my "derived" Lucene. But in order to limit modifications to the Lucene core, I created a QueryCache class, and have derived versions of Prefix and Range query consult the class, passing in the IndexReader and query to see if there is a cached result. I also

constant scoring queries

2005-05-10 Thread Doug Cutting
Background: In http://issues.apache.org/bugzilla/show_bug.cgi?id=34673, Yonik Seely proposes a ConstantScoreQuery, based on a Filter. And in http://www.mail-archive.com/lucene-dev@jakarta.apache.org/msg08007.html I proposed a mechanism to promote the use of Filters. Through all of this, Paul

Re: FieldCache parser

2005-05-10 Thread tjones
+1 like the idea! Attached is a patch that makes it possible to supply a user-specified parser to FieldCache. For example, one might use this to process a date field as ints even if was not indexed as a decimal integer. Comments? Doug --

Re: Helping PyLucene and RubyLucene incubate

2005-05-10 Thread Doug Cutting
Andi Vajda wrote: The Ruby work may be from scratch, I don't know. But the project to incubate, the project we've been talking about for a while now, SWIGLucene-unless-we-come-up-with-a-better-name, would include PyLucene, not from scratch, RubyLucene, and maybe others. Attached is a message I s

Re: multi-field highlighting

2005-05-10 Thread Doug Cutting
markharw00d wrote: Before we leap into adding code into the highlighter though I think it's worth considering what we are trying to fix here in a more general sense. As a basic principle I think highlighting should attempt to show the user what the search engine saw as important in the document.

FieldCache parser

2005-05-10 Thread Doug Cutting
Attached is a patch that makes it possible to supply a user-specified parser to FieldCache. For example, one might use this to process a date field as ints even if was not indexed as a decimal integer. Comments? Doug Index: src/java/org/apache/lucene/search/FieldCache.java =

Re: [EMAIL PROTECTED]: Project lucene-java (in module lucene-java) failed

2005-05-10 Thread Stefan Bodewig
On Tue, 10 May 2005, Erik Hatcher <[EMAIL PROTECTED]> wrote: > I can (and probably will) change it such that is not run if > JavaCC is not present and adjust it so that the check for JavaCC is > only done on the targets that truly need it (but are not part of the > main build path). This may be

Re: Helping PyLucene and RubyLucene incubate

2005-05-10 Thread Erik Hatcher
I'm cross-posting to java-dev just to let folks know we've moved this conversation over to [EMAIL PROTECTED] On May 10, 2005, at 8:14 AM, Brian McCallister wrote: The ruby part of it is from scratch, but I am using Andi's work extensively, and it relies on that work for all practical purposes.

Re: [EMAIL PROTECTED]: Project lucene-java (in module lucene-java) failed

2005-05-10 Thread Erik Hatcher
On May 9, 2005, at 9:34 AM, Stefan Bodewig wrote: On Mon, 9 May 2005, Erik Hatcher <[EMAIL PROTECTED]> wrote: On May 9, 2005, at 3:57 AM, Stefan Bodewig wrote: Feel free to add any "new" dependencies Gump is missing. What's the process for me to add new dependencies? If the project you depend on i

[EMAIL PROTECTED]: Project lucene-java (in module lucene-java) failed

2005-05-10 Thread Jason van Zyl
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project lucene-java has an issue affecting its community integration. This issue affects

[GUMP@brutus]: Project lucene-java (in module lucene-java) failed

2005-05-10 Thread Jason van Zyl
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project lucene-java has an issue affecting its community integration. This issue affects