Commit Graph

846 Commits

Author SHA1 Message Date
Daniel Naber c5e21fb418 the test for getFieldNames(boolean) was not correct
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150379 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:55:12 +00:00
Daniel Naber 986934c44d adding a testcase for FuzzyQuery
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150378 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:19:59 +00:00
Daniel Naber bb402d4e96 let's see if committing works for me -- fix errors in the file format
description, as discussed on the mailing list
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150377 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 15:58:56 +00:00
Christoph Goller b4f4634fd6 simplification of code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150376 13f79535-47bb-0310-9956-ffa450edef68
2004-07-25 15:10:36 +00:00
Doug Cutting 4c96baa13a Fixed a performance bug in hit sorting code, #30240.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150375 13f79535-47bb-0310-9956-ffa450edef68
2004-07-21 19:05:46 +00:00
Otis Gospodnetic 310d57b75e - Fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=30058
Vector -> ArrayList, Hashtable -> HashMap


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150374 13f79535-47bb-0310-9956-ffa450edef68
2004-07-13 14:07:34 +00:00
Otis Gospodnetic cec270c525 - Fix for NPE: http://issues.apache.org/bugzilla/show_bug.cgi?id=30049
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150373 13f79535-47bb-0310-9956-ffa450edef68
2004-07-12 14:36:04 +00:00
Otis Gospodnetic 9db6cd299a - static var
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150372 13f79535-47bb-0310-9956-ffa450edef68
2004-07-10 06:49:52 +00:00
Otis Gospodnetic 451a311f26 - Removed extra imports: http://issues.apache.org/bugzilla/show_bug.cgi?id=30016
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150371 13f79535-47bb-0310-9956-ffa450edef68
2004-07-10 06:19:01 +00:00
Doug Cutting de1ea95568 Preparing for 1.4 final release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150369 13f79535-47bb-0310-9956-ffa450edef68
2004-07-01 17:40:41 +00:00
Christoph Goller 5426ab1212 package private method added that helps to get unique
document numbers and that should not upset anybody


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150368 13f79535-47bb-0310-9956-ffa450edef68
2004-06-24 08:05:55 +00:00
Erik Hatcher 2ebb5e0ade minor correction - FieldCount not Count
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150367 13f79535-47bb-0310-9956-ffa450edef68
2004-06-24 01:02:27 +00:00
Erik Hatcher 5d4bddceef add getter for Query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150366 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 09:52:25 +00:00
Erik Hatcher fd370a1677 bring segments file documentation back in sync with code changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150365 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 00:16:16 +00:00
Erik Hatcher 7bd8188ba6 #29548 rename enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150364 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 00:16:06 +00:00
Erik Hatcher 72efb4afbf adjust .tvf file format to match actual implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150363 13f79535-47bb-0310-9956-ffa450edef68
2004-06-12 16:54:37 +00:00
Doug Cutting 5ca4cb27e2 Fixed a bug where obsolete segment files were not deleted on Win32.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150362 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 11:28:46 +00:00
Doug Cutting 27821a7f9a Removed synchronization from term lookup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150361 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 16:55:52 +00:00
Otis Gospodnetic cdd9601158 - Switched to UTF-8 file encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150360 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 20:24:20 +00:00
Erik Hatcher 42cb7c5344 doc patch from Daniel Naber
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150359 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 11:12:50 +00:00
Erik Hatcher 5884c9c8a8 Paul Elschots refactorings of span tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150358 13f79535-47bb-0310-9956-ffa450edef68
2004-05-25 17:34:58 +00:00
Tim Jones 9c2a2fee32 added a SortField which uses a Locale to sort strings.
also fixed the discrepancy about what happens when a document has no terms in a sorted field.
added test cases for both of the above.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150357 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 22:51:42 +00:00
Erik Hatcher 8420843ace one more try as UTF-8
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150356 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 19:05:21 +00:00
Erik Hatcher 03026b6a4d hopefully fixing my I18N screwup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150355 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 17:20:09 +00:00
Erik Hatcher ee00e19246 enhancement to QueryParser to allow slop factor passed to a new getFieldQuery method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150354 13f79535-47bb-0310-9956-ffa450edef68
2004-05-22 17:34:31 +00:00
Otis Gospodnetic 26e2b49a68 - Fixed a reference to lockDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150353 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 10:46:13 +00:00
Tim Jones 71c714efa1 - FieldCache change note
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150352 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 17:16:56 +00:00
Otis Gospodnetic d6a64bf03e - Fix for bug 28960 (http://issues.apache.org/bugzilla/show_bug.cgi?id=28960)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150351 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 16:38:58 +00:00
Otis Gospodnetic 0ed86b97b8 - FilteredTermEnum ctor change note
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150350 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 16:28:15 +00:00
Christoph Goller c67d8e8050 Javadoc correction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150349 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 11:23:53 +00:00
Tim Jones 4e486c1434 expose term cache as a public object
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150348 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 23:05:27 +00:00
Otis Gospodnetic 1e2715d18d - Another patch for bug 28074
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150347 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 15:46:33 +00:00
Otis Gospodnetic 2a4dd6cb62 - Patch for 28074: http://issues.apache.org/bugzilla/show_bug.cgi?id=28074
and minor exception message text changes


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150346 13f79535-47bb-0310-9956-ffa450edef68
2004-05-18 13:42:30 +00:00
Otis Gospodnetic 4cf55c447c - Removed powered.xml/.html and pointed to Wiki
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150345 13f79535-47bb-0310-9956-ffa450edef68
2004-05-18 13:32:01 +00:00
Christoph Goller aaf0f4b01d Changed explicit casts to SegmentTermEnum and
SegmentTermDocs to TermEnum and TermDocs casts.
This had obviously been forgotten when switching from
SegmentsReader to MultiReader.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150344 13f79535-47bb-0310-9956-ffa450edef68
2004-05-17 12:56:47 +00:00
Doug Cutting a18ce33346 Added link to blog.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150343 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 21:23:45 +00:00
Otis Gospodnetic b72f93d1b5 - Made Javadoc for add method more clear (Leonid Portnoy)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150342 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 12:56:29 +00:00
Otis Gospodnetic b48c75c33c - Replaced /t with two spaces and fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150341 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 12:49:46 +00:00
Otis Gospodnetic 59f64337a9 - Javadoc improvements, bug 28964 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28964
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150340 13f79535-47bb-0310-9956-ffa450edef68
2004-05-14 12:36:26 +00:00
Erik Hatcher e5d98fe28a Remove odd character
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150339 13f79535-47bb-0310-9956-ffa450edef68
2004-05-13 09:54:12 +00:00
Erik Hatcher 43d7d69054 Remove commented out workaround fix. Doug fixed FilteredQuery's rewrite.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150338 13f79535-47bb-0310-9956-ffa450edef68
2004-05-13 03:11:45 +00:00
Doug Cutting 9a391c2469 Preparing for 1.4RC3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150336 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:37:38 +00:00
Doug Cutting 441b8dee40 Preparing for 1.4RC3 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150335 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:20:04 +00:00
Doug Cutting 36ec873780 Updates for recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150334 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:12:43 +00:00
Doug Cutting 840d9f1bb5 Fixed to work even when java.io.tmpdir system property is null.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150333 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 20:01:48 +00:00
Doug Cutting 07013dfaf9 Removed dead code, as noted by Paul Elschot.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150332 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:59:51 +00:00
Doug Cutting 03b25ce6bb Removed Java 1.4 dependency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150331 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:38:41 +00:00
Doug Cutting fd147a146e Fix for bug 28285, from Paul Elschot.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150330 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:36:23 +00:00
Doug Cutting 2a2158c439 Renamed protected field back to its 1.3 name, for back-compatibility.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150329 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:28:51 +00:00
Doug Cutting 1ed81e4fdc Changed so that 'ant jar' works again.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150328 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 19:28:37 +00:00