[ http://issues.apache.org/jira/browse/LUCENE-657?page=all ]

Steven Parkes updated LUCENE-657:

Lucene Fields: [New, Patch Available]
Fix Version/s: 2.1
Assignee: Steven Parkes

Anybody worried about this? Seems like a very nominal change. Any reason we would want to inhibit people from extended a query class like FuzzyQuery?
FuzzyQuery should not be final

Key: LUCENE-657
URL: http://issues.apache.org/jira/browse/LUCENE-657
Project: Lucene - Java
Issue Type: Improvement
Components: Search
Environment: all platforms
Reporter: Andreas Neumann
Assigned To: Steven Parkes
Priority: Trivial
Fix For: 2.1

Attachments: fuzzy.patch

I am trying to extend the FuzzyQuery to further filter the TermEnum. (I am indexing stem forms and original forms, but I only want to match original forms with a fuzzy term, otherwise I get to much noise). However, FuzzyQuery is a final class and I cannot extend it.
As discussed in the mailing list (http://www.gossamer-threads.com/lists/lucene/java-dev/38756), we want to make the private variables and inner classes protected.
I am attaching a patch for FuzzyQuery.java that implements this. I ran all unit tests and they passed without errors.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 7 | next ›
Discussion Overview
groupdev @
postedAug 16, '06 at 12:34a
activeOct 26, '06 at 7:04a



site design / logo © 2021 Grokbase