Daniel Naber
25fac5259f
fix "@param" comment; remove IOException that was never thrown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150450 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 12:02:59 +00:00
Daniel Naber
19e8c6d8c3
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150449 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 12:01:39 +00:00
Daniel Naber
ac240c8f1a
fix typo in comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150448 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 11:56:17 +00:00
Otis Gospodnetic
7123444b75
- Added 2 new parse methods that take arrays of query strings.
...
Submited by Andraz Skoric (andraz.skoric@medius.si ) back in April 2004
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150447 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 23:07:41 +00:00
Daniel Naber
34bab2ca15
fix the @param tag that got broken with the previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150446 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:59:23 +00:00
Otis Gospodnetic
a7a55017e3
- Indentation and compiler warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150445 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:58:11 +00:00
Otis Gospodnetic
83d745ab0c
- Small fixes from Bernhard Messer ( http://issues.apache.org/bugzilla/show_bug.cgi?id=30522 )
...
PR: 30522
Obtained from:
Submitted by: Bernhard Messer
Reviewed by: Otis Gospodnetic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150443 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:53:16 +00:00
Otis Gospodnetic
bcaf26108e
- Applied patch from http://issues.apache.org/bugzilla/show_bug.cgi?id=30360
...
PR: 30360
Submitted by: Paul Elschot
Reviewed by: Otis Gospodnetic
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150442 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:38:46 +00:00
Otis Gospodnetic
814761c635
- Small javadoc fix reported by Ernesto De Santis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150441 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:22:33 +00:00
Christoph Goller
bbf935c6b4
fix for BUG 30668 and name of separate norms file
...
changed from .f to .s
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150438 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 08:56:08 +00:00
Daniel Naber
08220cfbe3
move the word list loader from analysis.de to analysis, as it is not specific to German at all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150436 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 20:41:02 +00:00
Daniel Naber
7ec48d172c
Russian and German analyzers have been moved to sandbox: delete the test cases here, too
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150435 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 20:32:36 +00:00
Daniel Naber
caaad35b57
Russian and German analyzers have been moved to sandbox
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150434 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 20:31:49 +00:00
Daniel Naber
b9c9f81ed2
use standard OR operator (||) instead of binary OR (|) for cleaner code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150433 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 11:41:22 +00:00
Otis Gospodnetic
fe4ccc7e54
- Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150432 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 20:49:30 +00:00
Daniel Naber
0520779622
make constants final
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150431 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 11:47:26 +00:00
Daniel Naber
473ed1013c
fix a link in the API doc and avoid an Eclipse warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150430 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 11:37:36 +00:00
Daniel Naber
80ef6bd1a3
remove unused import statement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150429 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 11:26:05 +00:00
Daniel Naber
fe169b138e
improve the comment about the unused variable
...
Submitted by: Boris Okner
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150428 13f79535-47bb-0310-9956-ffa450edef68
2004-08-14 14:14:45 +00:00
Daniel Naber
3515b30029
Remove an unused private method. Comment out unused variables. Add a comment to two places where a variable is never used but the code is correct anyway.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150427 13f79535-47bb-0310-9956-ffa450edef68
2004-08-14 11:14:37 +00:00
Daniel Naber
4b1c3b73a7
avoid warnings about ambiguous "@see" tags in Eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150426 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 20:02:30 +00:00
Daniel Naber
213904a810
fix the documentation for addFile()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150425 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 19:54:36 +00:00
Daniel Naber
e37ecd1c2f
remove two variables that were never used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150423 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 18:38:44 +00:00
Daniel Naber
cd2ca90309
You can now set the required fuzziness of FuzzyQuery. Note that QueryParser does not support this (yet?).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150422 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 18:35:02 +00:00
Daniel Naber
c65cb9a931
remove an unused variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150421 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 18:26:43 +00:00
Daniel Naber
d42dd740d6
improve the API doc for getUseCompoundFile()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150420 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 18:59:08 +00:00
Christoph Goller
76e2362954
building of compound file taken out of commit lock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150419 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 17:38:35 +00:00
Daniel Naber
a715799797
remove a private method that's never used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150418 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 07:19:18 +00:00
Daniel Naber
f3edf7417a
make the test case also work in Eclipse, not only in the ant task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150417 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 07:18:04 +00:00
Daniel Naber
453a317e1e
toString() now doesn't return "Keyword" etc anymore but prints "indexed, tokenized" etc. Information about termVectors is now also included.
...
PR:28336
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150416 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 21:34:57 +00:00
Daniel Naber
bf85d16d96
removed "TODO", as the bug is fixed now
...
PR: 29931
Submitted by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150415 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:06:22 +00:00
Daniel Naber
b968175664
make the test case also work in Eclipse, not only in the ant task
...
Submitted by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150414 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:04:38 +00:00
Daniel Naber
b1a8660d17
Bernhard's fix for '��' not being replaced at the end of a word + plus a small code simplification by me
...
PR: 29931
Submitted by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150413 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:02:47 +00:00
Daniel Naber
67b295c3a8
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150412 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 19:43:58 +00:00
Daniel Naber
5568be02cf
remove an unused variable and clean up imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150411 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 19:40:42 +00:00
Daniel Naber
41cf1702b3
remove unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150410 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 19:36:59 +00:00
Daniel Naber
043baabb62
remove an unused variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150409 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 14:08:18 +00:00
Christoph Goller
dc74bab798
create compound file in merge after all merged segments
...
have been deleted in order to safe disk space.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150408 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 13:05:33 +00:00
Daniel Naber
f24f300492
test case for the German stemmer which also shows its limitations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150407 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 10:55:27 +00:00
Daniel Naber
26128272df
remove useless "throws IOException" declarations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150404 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:19:29 +00:00
Daniel Naber
18a4dc5dce
remove useless "throws IOException" declarations; fix one @param name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150403 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:10:02 +00:00
Daniel Naber
004407a688
the demo was changed so that the "path" field isn't tokenized anymore: adapt the documentation to that change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150402 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:03:49 +00:00
Daniel Naber
3b6a2e7e56
don't try to catch exceptions that are not thrown anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150401 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 21:32:51 +00:00
Daniel Naber
c122d5bf3f
remove "throws IOException" from methods that really never throw this exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150400 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:50:29 +00:00
Daniel Naber
ab798c960e
fix @param in API doc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150399 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:50:00 +00:00
Daniel Naber
c4f8d9b824
remove unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150398 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:44:51 +00:00
Daniel Naber
9e2322c5c0
remove "throws IOException" from methods that really never throw this exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150397 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:19:13 +00:00
Daniel Naber
9510777ce9
No dot at the end of the @see tag. javadoc doesn't seem to care, but Eclipse prints a warning.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150396 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:09:19 +00:00
Daniel Naber
35d5406541
Use the HTMLParser constructor that takes a FileInputStream and make sure it gets closed. This was not the case with the constructor that takes a File.
...
Thus I deprecated that one. I guess the demo isn't part of the "official" API but there are surely people who use it for more than just testing.
PR: 28187
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150395 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 19:26:16 +00:00
Christoph Goller
fecb54ff64
addIndexes(IndexReader[]): Delete segment of non-empty
...
goal index an close its SegmentReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150394 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 12:21:24 +00:00
Daniel Naber
4b8434c0e8
make the links in the API documentation work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150393 13f79535-47bb-0310-9956-ffa450edef68
2004-08-05 18:00:13 +00:00
Daniel Naber
5ba3804057
documentation: add a link from delete(Term) to delete(int) because the latter one contains information about when the deleting will become effective
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150392 13f79535-47bb-0310-9956-ffa450edef68
2004-08-04 19:40:26 +00:00
Daniel Naber
53833051ce
update the documentation to reflect that "path" is now untokenized
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150391 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:53:10 +00:00
Daniel Naber
5635cce871
Store the path as a Keyword field. Also rename HTMLDocument's "url" to "path"
...
and store it as a Keyword field, too. DeleteFiles now takes such a path
as its command line parameter and works on the index directory "index", like the
other demos.
This fixes bug http://issues.apache.org/bugzilla/show_bug.cgi?id=30330
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150390 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:49:24 +00:00
Daniel Naber
add0c0a47b
fixing the usage information, as Indexfiles.class returns "class org.apache.lucene.demo.Indexfiles" (note the "class", which is misleading in this context)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150389 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:47:11 +00:00
Daniel Naber
daf920b59d
remove "throws IOException" that could never be thrown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150388 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:32:50 +00:00
Daniel Naber
5335af3bee
remove unneeded imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150387 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 17:43:10 +00:00
Erik Hatcher
59c4fd80a7
fixed import issue caused by previous removal commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150386 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 23:33:24 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
6809069823
Fix FilteredQuery to support rewritten queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150327 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:52:24 +00:00
Doug Cutting
9ed56d3d04
We can just use Lock.toString() to show lock file, no?
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150326 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:43:28 +00:00
Otis Gospodnetic
8c43a92da9
- Removed old Hashtable import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150325 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:24:45 +00:00
Otis Gospodnetic
440be55927
- Bug 28858 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28858
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150324 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:23:21 +00:00
Otis Gospodnetic
c735ac4d00
- Bugzilla case 28856 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28856
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150323 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:18:04 +00:00
Otis Gospodnetic
30c553aedc
- Took care of javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150322 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 17:12:29 +00:00
Erik Hatcher
7e5763e5ca
switch Lock to use a String instead of File
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150321 13f79535-47bb-0310-9956-ffa450edef68
2004-05-10 23:46:56 +00:00
Erik Hatcher
f5648fc28f
make ctors public - this broke the sandbox DbLock code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150320 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 13:50:03 +00:00
Erik Hatcher
5bc6296927
#28855 - better lock obtain timed out error message (Daniel Naber)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150318 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 12:41:47 +00:00
Erik Hatcher
f0017af921
enhance toString methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150317 13f79535-47bb-0310-9956-ffa450edef68
2004-05-08 19:54:12 +00:00
Erik Hatcher
8271ebd473
expected, then actual :) also, uncovered a bug in FilteredQuery, a rewrite is needed somewhere
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150316 13f79535-47bb-0310-9956-ffa450edef68
2004-05-08 15:06:19 +00:00
Erik Hatcher
d9cd661cde
IntelliJ flagged these two lines as being unreachable, and indeed they are
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150315 13f79535-47bb-0310-9956-ffa450edef68
2004-05-07 15:18:09 +00:00
Tim Jones
b908476de5
fix javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150313 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 14:46:34 +00:00
Tim Jones
56b37e03a5
add apache license
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150312 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 14:44:37 +00:00
Tim Jones
c8f455b482
new SortField type for using a custom comparator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150311 13f79535-47bb-0310-9956-ffa450edef68
2004-04-22 22:23:15 +00:00
Tim Jones
1646bda9ef
fix the toString(s) - thanks, Erik!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150309 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 20:15:55 +00:00
Tim Jones
30ef9989dc
new Query which applies a Filter to another Query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150308 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 19:18:44 +00:00
Christoph Goller
96e1b41127
Making bahavior of close() more consistent.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150307 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 17:26:28 +00:00
Christoph Goller
9798fac712
minor javadoc changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150306 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 17:08:04 +00:00
Christoph Goller
221cfab84f
Make SegmentInfos invisible outside the package.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150305 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 16:46:30 +00:00
Christoph Goller
771fbd4b9d
test for skipTo added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150304 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 16:35:46 +00:00
Christoph Goller
e51e76636c
Bug in PhraseScorer and ConjunctionScorer
...
skipTo implementation fixed.
Unit test for this bug added.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150303 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 15:23:29 +00:00
Christoph Goller
0cc255bf7b
Directory in now only closed if implicitly generated from
...
File or String. Behavior is identical to IndexReader.
addIndexes(IndexReader[]) no longer closes the readers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150302 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 19:33:35 +00:00
Christoph Goller
236466c37f
temporary directory in constructor was never closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150301 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 18:27:55 +00:00
Christoph Goller
8256d94f56
temporary directory in isLocked(String) was never closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150300 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 18:21:06 +00:00
Christoph Goller
1bbe8a9361
improved javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150299 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 17:55:16 +00:00
Christoph Goller
6a9665f792
removeField and removeFields added to Document
...
enhancement was proposed in bug 28462
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150298 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 17:26:16 +00:00
Christoph Goller
420d1d7c07
fix for bug 27423
...
slightly modified version of Daniel?s patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150297 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 16:27:24 +00:00
Christoph Goller
d00487507e
hopefully corrected or at least improved version of skipTo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150296 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 13:47:58 +00:00
Christoph Goller
82dc3d50a3
test added that demonstrates an already fixed bug in
...
PhraseScorer of 1.4rc2
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150295 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 13:39:08 +00:00
Christoph Goller
0adb0734e2
fixed loop exit in skipTo in case of end of
...
skip table
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150292 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 19:32:20 +00:00
Christoph Goller
bbbd0fb408
fixed a potential problem concerning optimized
...
TermDocs.seek
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150291 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 14:46:00 +00:00
Christoph Goller
995cee2769
fixing Bug 19189
...
finally after 1 year :-(
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150290 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 14:06:27 +00:00
Christoph Goller
9f5d7feafb
Additional Optimize Condition:
...
Merge a 1-segment index if compound file is used and
norms have been changed by IndexReader.setNorm
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150289 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 12:44:43 +00:00
Christoph Goller
a35399734d
iterating over fieldInfos instead of document fields seems
...
more natural and more efficient for writeNorms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150288 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 10:15:20 +00:00
Christoph Goller
34b8f647fe
added some javadoc (patch from Daniel)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150287 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 09:49:06 +00:00
Christoph Goller
3f151fa5f6
corrected a typo in javadoc (patch from Daniel)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150286 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 09:48:25 +00:00
Christoph Goller
e0ea2909c3
restructuring of IndexReader, SegmentReader,
...
and Multireader in order to improve directory locking
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150285 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 09:17:05 +00:00
Erik Hatcher
9e8542e4d2
add SpanNearQuery test case contributed by Paul Elschot - note, this test currently fails due to a bug.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150284 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 15:06:59 +00:00
Christoph Goller
281004951b
file format introduced in order to optimize
...
readCurrentVersion()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150283 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 09:13:19 +00:00
Christoph Goller
360e7e234c
skipTo jumped one document too far
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150281 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 16:40:34 +00:00
Erik Hatcher
17338f4680
fixup javadocs based on changes made to support jdk 1.3
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150280 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 17:23:38 +00:00
Erik Hatcher
4e81c2c562
reverse misunderstanding - now just simply denote the reverse flag rather than interpret ascending or descending.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150279 13f79535-47bb-0310-9956-ffa450edef68
2004-04-04 15:47:31 +00:00
Erik Hatcher
6e7df0fa69
handy toString methods for the new Sort classes. feel free to adjust the aesthetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150278 13f79535-47bb-0310-9956-ffa450edef68
2004-04-04 15:28:14 +00:00
Doug Cutting
45c5ec4577
Improved javadoc for span queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150276 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 20:33:25 +00:00
Otis Gospodnetic
9f511ba6a0
- Fixed mixed-up indentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150268 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 15:54:48 +00:00
Otis Gospodnetic
25f78d7cc2
- Applied a patch for bug 18410: http://issues.apache.org/bugzilla/show_bug.cgi?id=18410
...
PR: 18410
Obtained from:
Submitted by: Daniel Naber
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150267 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 15:44:58 +00:00
Otis Gospodnetic
16146cbd32
- Applied a patch for bug 28030: http://issues.apache.org/bugzilla/show_bug.cgi?id=28030
...
(and made some small changes to it)
PR: 28030
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150266 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 13:22:59 +00:00
Erik Hatcher
948a61fa0b
again, my apologies - another attempt to get the encoding right
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150265 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 02:56:44 +00:00
Erik Hatcher
6ce38ba310
IDEA, my i18n nemesis... thank you TextPad. geez, sorry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150264 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 02:52:40 +00:00
Erik Hatcher
31285cb2a3
hopefully fix my i18n screwup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150260 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 23:20:13 +00:00
Doug Cutting
15afb15cb6
Updated license to Apache License 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150259 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 22:48:07 +00:00
Tim Jones
3f54fbaaea
streamlined by removing duplicated code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150257 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 18:55:30 +00:00
Erik Hatcher
338499e86b
#27987 - add exceptions to WordlistLoader to missing file causes error instead of silently failing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150256 13f79535-47bb-0310-9956-ffa450edef68
2004-03-29 16:53:35 +00:00
Doug Cutting
c47982eb56
Fix for bug 27799.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150254 13f79535-47bb-0310-9956-ffa450edef68
2004-03-26 21:55:55 +00:00
Otis Gospodnetic
3a2871b740
- Changed the code so debug output for each merge is on a single line:
...
merging segments _b (1 docs) _c (1 docs) into _d (2 docs)
merging segments _a (10 docs) _d (2 docs) into _e (12 docs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150251 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 19:34:53 +00:00
Doug Cutting
c513a55a59
javadoc cleanups and enhancements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150250 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 18:47:15 +00:00
Otis Gospodnetic
2e455a08a6
- Added ASL
...
- s/\t/ /g'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150249 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 13:49:49 +00:00
Otis Gospodnetic
019b6e7d57
- Added ASL
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150248 13f79535-47bb-0310-9956-ffa450edef68
2004-03-25 13:39:59 +00:00
Tim Jones
9e24bfacfc
avoid runtime exception if possible if index is empty
...
added tests for this case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150246 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 19:23:11 +00:00
Doug Cutting
f19a63217d
Changed the default index format to be compound.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150245 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 18:10:59 +00:00
Doug Cutting
76bd7d9b29
Fixed a bug in skipTo(), bugzilla #27587 .
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150244 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 17:36:53 +00:00
Doug Cutting
c79abd35dd
Changed Term to implement Comparable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150243 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 17:32:49 +00:00
Otis Gospodnetic
1ebfc379fd
- Changed QueryParser.jj to allow '-' and '+' characters in search terms.
...
Morus Walter's patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=27491
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150242 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 10:12:27 +00:00
Tim Jones
cfef632e3f
fix to properly normalize scores even when hits are sorted
...
also wrote tests to verify scores are the same whether sorted or not
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150240 13f79535-47bb-0310-9956-ffa450edef68
2004-03-23 16:49:56 +00:00
Tim Jones
88bec062ec
fix formatting - every line was ended by two carriage returns and a line feed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150239 13f79535-47bb-0310-9956-ffa450edef68
2004-03-23 15:59:49 +00:00
Otis Gospodnetic
424291226d
- Changed a property from private to public and added Javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150236 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:53:37 +00:00
Otis Gospodnetic
e5c04869d2
- Changed some properties from private to public and added Javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150235 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:51:24 +00:00
Otis Gospodnetic
14065e0077
- Changed FSDirectory to use a lock dir specified by
...
org.apache.lucene.lockDir system property or java.io.temp fall-back one
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150234 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:44:45 +00:00
Otis Gospodnetic
712e742b78
- Added support for setting various Lucene properties via system properties.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150233 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:05:18 +00:00
Tim Jones
5d2812b8f5
remove java 1.4 dependent code in order to maintain java 1.3 level compatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150231 13f79535-47bb-0310-9956-ffa450edef68
2004-03-17 18:11:02 +00:00
Erik Hatcher
1a8688c18f
format clean-up
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150230 13f79535-47bb-0310-9956-ffa450edef68
2004-03-12 09:45:17 +00:00
Erik Hatcher
87d1685b0f
convert StopFilter to use Set, with supporting changes to avoid calling deprecated methods. never compromise on your ideals!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150229 13f79535-47bb-0310-9956-ffa450edef68
2004-03-12 09:43:48 +00:00
Erik Hatcher
7ceae266c5
Caved in.... HashSet all the way around it is
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150228 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 23:17:37 +00:00
Erik Hatcher
8d7ce21934
another refinement to the ongoing StopFilter refactorings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150227 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 09:59:57 +00:00
Erik Hatcher
3c93b62676
add handy getter for the File
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150226 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 00:50:41 +00:00
Erik Hatcher
c230388a92
convert Hashtable to Set, to avoid unnecessary synchronization issues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150225 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 00:18:02 +00:00
Otis Gospodnetic
2798628256
- Added Javadocs to constructors
...
- Removed trailing spaces and added ASL 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150223 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 14:31:53 +00:00
Otis Gospodnetic
9ada967125
- Applied a patch that treats \n and \r characters in query strings the same
...
way that \t and " " are treated.
http://issues.apache.org/bugzilla/show_bug.cgi?id=18847
Contributed by Daniel Naber
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150222 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 12:07:13 +00:00
Otis Gospodnetic
cf06b516bc
- Applied the patch that fixes query string escaping:
...
http://issues.apache.org/bugzilla/show_bug.cgi?id=24665
Contributed by Jean-Francois Halleux
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150221 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 11:24:49 +00:00
Otis Gospodnetic
17488d5e08
- Applied patch for bug 26702, attachment 10637
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150220 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 14:54:55 +00:00
Otis Gospodnetic
9ad67bc42b
- ASL 2.0 and cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150219 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 13:48:10 +00:00
Otis Gospodnetic
eaee85e184
- Changed the order of close and optimize calls on IndexWriter (how did this
...
work??)
- ASL 2.0 and cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150218 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 13:09:57 +00:00
Doug Cutting
2439150b02
Changed Document so that field order is observed when indexing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150217 13f79535-47bb-0310-9956-ffa450edef68
2004-03-01 17:32:50 +00:00
Otis Gospodnetic
d890b39eef
- Applied a javadoc fix from bug 18927, attachment id 10523
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150214 13f79535-47bb-0310-9956-ffa450edef68
2004-02-26 18:27:12 +00:00
Doug Cutting
de9099fb72
Added a few accessors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150213 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 22:29:18 +00:00
Doug Cutting
3f3c0aa917
Patch to sort code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150212 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 22:17:41 +00:00
Doug Cutting
b8289d7943
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150210 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 20:43:35 +00:00
Doug Cutting
31974f29f0
Fixed problem with sorting.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150209 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 20:41:16 +00:00
Doug Cutting
0aca5291dc
Removed some dead code and redundant javadoc. Fixed a few javadoc bugs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150208 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 19:46:43 +00:00
Doug Cutting
60f1d192c7
Latest patches to hit sorting code, including unit tests, two of which currently fail.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150207 13f79535-47bb-0310-9956-ffa450edef68
2004-02-24 19:34:58 +00:00
Doug Cutting
12eee6df5a
Added term vector support.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150206 13f79535-47bb-0310-9956-ffa450edef68
2004-02-20 20:14:56 +00:00
Doug Cutting
abb62bda9c
Added MultiReader, an IndexReader that combines multiple other IndexReaders.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150205 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 18:28:59 +00:00
Doug Cutting
98dcb2096b
Fixed to compile w/o deprecation warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150203 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 18:12:03 +00:00
Doug Cutting
84d2f6994c
Fixed a recently introduced bug in BooleanScorer; added some toString() methods to facilitate debugging.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150202 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 18:28:31 +00:00
Doug Cutting
32d5bcd950
Added hit sorting code, from Tim Jones.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150201 13f79535-47bb-0310-9956-ffa450edef68
2004-02-17 19:00:31 +00:00
Otis Gospodnetic
a8d459a9f5
- Fixed a typo in {@link}
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150200 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:38:50 +00:00
Otis Gospodnetic
a3d7da14b4
- Javadoc example fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150199 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:38:19 +00:00
Otis Gospodnetic
9c3d6795f7
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150198 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:37:41 +00:00
Otis Gospodnetic
61f5e16d9d
- Added more queries to javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150197 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 18:36:23 +00:00
Doug Cutting
423c29c749
A span search optimization.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150194 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 22:25:51 +00:00
Doug Cutting
a66250c4ab
Fixed a few bugs in span searching.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150193 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 22:03:42 +00:00
Doug Cutting
37196df9e3
Fix a bug in skipTo().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150192 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 18:10:45 +00:00
Doug Cutting
755529c45c
Permit queries to override the Similarity implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150190 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 19:19:20 +00:00
Otis Gospodnetic
eb0c2853bb
- Applied a patch from Grant Ingersoll
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150189 13f79535-47bb-0310-9956-ffa450edef68
2004-02-05 13:45:55 +00:00
Otis Gospodnetic
f37a66bb2f
- Applied a small patch from Grant Ingersoll.
...
The code moved from TestStopAnalyzer.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150188 13f79535-47bb-0310-9956-ffa450edef68
2004-02-05 13:17:26 +00:00
Otis Gospodnetic
7ce4f079f5
- Added ASL 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150186 13f79535-47bb-0310-9956-ffa450edef68
2004-02-02 13:27:52 +00:00
Doug Cutting
93ff39de13
Added new span-based query API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150185 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 22:10:00 +00:00
Otis Gospodnetic
5b90be88b7
- Applied a small patch from Mladen Turk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150183 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 16:36:10 +00:00
Otis Gospodnetic
b918871d54
- Initial commit
...
Submitted by: Tim Jones
Reviewed by: Otis, Doug
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150182 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 16:22:33 +00:00
Otis Gospodnetic
96141a2795
- Cleaned up to avoid compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150180 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 12:25:50 +00:00
Otis Gospodnetic
0304a92060
- Applied patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=26397 with small changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150179 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 12:25:10 +00:00
Erik Hatcher
8c4ba0415a
Fix javadoc typo - submitted by Jean-Francois Halleux
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150176 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 18:53:14 +00:00
Erik Hatcher
0a39c6131b
add no-arg ctor for RussianAnalyzer - makes it easier for tools to use this analyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150174 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 14:18:12 +00:00
Doug Cutting
b1541ce027
Added ParallelMultiSearcher.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150172 13f79535-47bb-0310-9956-ffa450edef68
2004-01-20 18:37:09 +00:00
Doug Cutting
6f8347c6fe
Optimized TermDocs.skipTo() and changed scorers to take advantage of it.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150170 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 22:42:35 +00:00
Erik Hatcher
cd297692ca
removing Lucene's Arrays class - it is unnecessary
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150164 13f79535-47bb-0310-9956-ffa450edef68
2003-12-28 17:02:56 +00:00
Doug Cutting
8016aa3ea5
Fix StandardTokenizer's handling of CJK characters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150159 13f79535-47bb-0310-9956-ffa450edef68
2003-12-22 22:12:24 +00:00
Doug Cutting
c03491e6a2
Distinguish between positions and length when indexing a field. The
...
length is now defined as the total number of tokens, not the final
position. Length is used for score normalization
(Similarity.lengthNorm()) and for controlling memory usage
(IndexWriter.maxFieldLength). In both cases the total number of
tokens is more reasonable than the final position. Position is used
in phrase searching (see PhraseQuery and Token.setPositionIncrement()).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150157 13f79535-47bb-0310-9956-ffa450edef68
2003-12-22 21:40:18 +00:00
Doug Cutting
bd2acf0bf8
Add new method IndexReader.setNorm(), to permit altering boosts after an index is created.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150156 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 23:04:42 +00:00
Doug Cutting
321b292be9
Fixed a NPE in Query.explain().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150155 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 22:26:13 +00:00
Erik Hatcher
859e6eee20
noted TooManyClauses catch in QueryParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150154 13f79535-47bb-0310-9956-ffa450edef68
2003-12-14 17:35:32 +00:00
Erik Hatcher
537368266a
remove failing StopAnalyzer tests since the positional change was reverted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150153 13f79535-47bb-0310-9956-ffa450edef68
2003-12-08 16:16:32 +00:00
Erik Hatcher
d83ae1586c
revert position increment change due to conflict with PhraseQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150152 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 14:30:12 +00:00
Doug Cutting
5bf1b92b14
Removed a line of dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150150 13f79535-47bb-0310-9956-ffa450edef68
2003-12-01 18:23:47 +00:00
Christoph Goller
32f3d1794a
two unused variables deleted
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150149 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 17:03:25 +00:00
Erik Hatcher
fd5806ddf2
Use position increments to account for removed stop words
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150148 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 02:03:14 +00:00
Christoph Goller
40dd950e3f
closing tags added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150147 13f79535-47bb-0310-9956-ffa450edef68
2003-11-27 12:50:21 +00:00
Erik Hatcher
fcc15f9a46
new QueryParser tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150145 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 11:03:30 +00:00
Erik Hatcher
2fd0c0205b
Catch TooManyClauses and throw ParseException instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150144 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 11:00:58 +00:00
Doug Cutting
c76efdf450
Optimize patch of yesterday: only clone when needed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150140 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 21:16:36 +00:00
Doug Cutting
393e5c2655
Fixed bug 24786. Correctly rewrite clauses.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150139 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 00:21:20 +00:00
Christoph Goller
41ab0e084c
Fix for problem with "<" and ">" within script.
...
Fixes bug #16952
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150138 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 18:37:32 +00:00
Christoph Goller
4e9ed24307
Add space for certain html tags. This is a fix for bug 19253.
...
I committed a slightly modified version of Daniel's patch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150137 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 17:24:32 +00:00
Christoph Goller
dc4da65595
Fix for deadlock between indexing thread and parsing
...
thread that occurs with long titles. Parsing thread waits
for indexing thread to read from pipeIn, indexing thread
waits for summary. This fixes bug #24301
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150136 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 15:37:26 +00:00
Christoph Goller
e535a52af6
file timestamp of segments file substituted by version
...
number in segments file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150135 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 19:10:41 +00:00
Christoph Goller
dfaa46dd93
seek checks removed; such ckecks are not implemented
...
by the other subclasses of InputStream either. Unit test
adapted accordingly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150134 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 19:03:22 +00:00
Christoph Goller
841e65e492
avoid double buffering in CSInputStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150133 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 19:01:44 +00:00
Otis Gospodnetic
054d9a4029
- Renamed a variable to reflect its functionality and fixed indentation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150132 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 13:05:13 +00:00
Otis Gospodnetic
3a80552bd0
- Patch from case 23754:
...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23754
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150130 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 11:58:19 +00:00
Otis Gospodnetic
1381c24605
- Removed tabs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150129 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 11:35:57 +00:00
Erik Hatcher
1a39c55c4c
only throw ParseException from parse methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150128 13f79535-47bb-0310-9956-ffa450edef68
2003-11-13 11:42:26 +00:00
Erik Hatcher
812d3329d7
detabify and removed redundant (char) cast
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150127 13f79535-47bb-0310-9956-ffa450edef68
2003-11-12 01:00:50 +00:00
Otis Gospodnetic
cad41dbce6
- Fixed indentation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150126 13f79535-47bb-0310-9956-ffa450edef68
2003-11-10 14:37:08 +00:00
Otis Gospodnetic
0401cf63e4
- Fixed indentation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150125 13f79535-47bb-0310-9956-ffa450edef68
2003-11-10 14:31:19 +00:00
Erik Hatcher
e0c4641ac2
harmless qualification of variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150124 13f79535-47bb-0310-9956-ffa450edef68
2003-11-06 15:30:57 +00:00
Christoph Goller
9cf06f739c
After undeleteAll the reader does not have deletions any
...
longer. So hasDeletions has to become false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150122 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 09:46:54 +00:00
Christoph Goller
af3fc298bd
docCount was computed incorrectly by merge causing
...
problems during indexing together with my last change in
IndexWriter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150121 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 09:28:44 +00:00
Christoph Goller
14b64e1380
use docCount from merger in mergeSegments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150120 13f79535-47bb-0310-9956-ffa450edef68
2003-10-25 13:54:08 +00:00
Christoph Goller
1a3d49c1ff
modify to use VM property for base data directory, so IDEs can run tests without Ant,
...
simply copied Eriks modification from TestRussianAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150119 13f79535-47bb-0310-9956-ffa450edef68
2003-10-25 11:23:49 +00:00
Erik Hatcher
7d03980697
remove System.out.printlns from tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150118 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 02:20:48 +00:00
Erik Hatcher
f538150c0b
change tests to use new sys property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150117 13f79535-47bb-0310-9956-ffa450edef68
2003-10-23 02:02:06 +00:00
Otis Gospodnetic
4fd1cea634
- Commented out left-over debugging/print statements
...
- Nuked trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150115 13f79535-47bb-0310-9956-ffa450edef68
2003-10-22 16:24:25 +00:00
Doug Cutting
ede163802d
Add IndexReader.undeleteAll().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150111 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 18:24:23 +00:00
Doug Cutting
f0d57d81a3
Changed IndexReader so that it can be subclassed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150110 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 17:59:17 +00:00
Erik Hatcher
ebd6dc86fa
unify stop word lists with StopAnalyzer - they were identical, so just reuse and avoid possible mismatch later
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150109 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:20:48 +00:00
Erik Hatcher
eda583780c
modify to use VM property for base data directory, so IDEs can run tests without Ant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150108 13f79535-47bb-0310-9956-ffa450edef68
2003-10-20 18:07:57 +00:00
Doug Cutting
964c1b7ada
Make idf(docFreq,numDocs) public instead of protected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150106 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 17:15:57 +00:00
Otis Gospodnetic
3fd7ec2679
- Fixed a bug with usage of IndexWriter.*_LOCK_NAME constants.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150105 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 10:49:42 +00:00
Otis Gospodnetic
e08f35fc06
- Reverting to revision 1.34 after a bad commit.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150100 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:37:51 +00:00
Otis Gospodnetic
6fe013aa7d
- Added a comment and cleaned up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150099 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:31:38 +00:00
Otis Gospodnetic
6600da8d84
- Indentation cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150098 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:29:47 +00:00
Otis Gospodnetic
b84e20281e
- Made String COMPOUND_EXTENSIONS[] static and moved the definition higher
...
in the code.
- Cleaned up a bit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150097 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:27:28 +00:00
Otis Gospodnetic
485e3c336f
- Changed code to use IndexWriter.WRITE_LOCK_NAME.
...
- Cleaned up indentation a bit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150096 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:25:54 +00:00
Otis Gospodnetic
9e968c9127
- Added WRITE_LOCK_NAME and COMMIT_LOCK_NAME, so that their names are not
...
hard-coded in half a dozen places in the code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150095 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:22:27 +00:00
Otis Gospodnetic
59779c7455
- Added ASL and removed trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150094 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 14:18:04 +00:00
Christoph Goller
17af7399fd
termDocs.close() moved.
...
Before that termDocs was used though it had already been closed!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150090 13f79535-47bb-0310-9956-ffa450edef68
2003-10-11 13:45:51 +00:00
Erik Hatcher
b118a27a86
Fix e-mail tokenization - thanks Christoph!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150088 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 12:24:11 +00:00
Erik Hatcher
b67b9df567
#7782 - an ancient. this seems like the right thing to do, all relevant tests still pass
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150087 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 01:22:21 +00:00
Erik Hatcher
ded5fcb7ac
aesthetics cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150086 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 00:13:24 +00:00
Erik Hatcher
0e60607de8
minor javadoc fixup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150085 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 00:11:54 +00:00
Erik Hatcher
2216c0dee3
minor javadoc fixup and add question comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150084 13f79535-47bb-0310-9956-ffa450edef68
2003-10-09 00:08:52 +00:00
Erik Hatcher
9808a54319
geez, try to add docs and screw it up!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150082 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 15:40:40 +00:00
Erik Hatcher
22575e8942
Change locale handling to be in line with the other tweakable parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150080 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 15:13:57 +00:00
Otis Gospodnetic
eeb4099cfa
- Fixed a bug when dealing with large indices
...
- Added Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150078 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 10:24:46 +00:00
Erik Hatcher
c3bae8805b
Add locale option to QueryParser, allowing date range to be dealt with a bit more flexibly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150077 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:12:42 +00:00
Erik Hatcher
399ec233ff
unwrap @links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150076 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:05:28 +00:00
Erik Hatcher
c644322f13
Add some javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150075 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 03:03:39 +00:00
Erik Hatcher
679aa50919
oops, forgot to check in JavaCC generated files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150073 13f79535-47bb-0310-9956-ffa450edef68
2003-10-01 16:39:26 +00:00
Erik Hatcher
186a1113cc
#23466 - StandardTokenzier with CJK support(sigram)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150072 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 16:31:49 +00:00
Erik Hatcher
13b2aa2136
Add tests for new ParseException capability for subclasses, demonstrating a way to reject fuzzy and wildcard queries; general spacing cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150071 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 04:41:02 +00:00
Erik Hatcher
15bcd46829
Add throws clause to query factory methods, allowing subclasses to use for rejecting, etc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150070 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 04:38:36 +00:00
Erik Hatcher
99ffd3cf27
#23505 - Hani's patch to fix RussianAnalyzer test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150069 13f79535-47bb-0310-9956-ffa450edef68
2003-09-30 03:09:15 +00:00
Dmitry Serebrennikov
e2559e4003
Implementation of compound files. This reduces the number of files
...
used by Lucene to 1 per index segment (2 when deleted documents exist).
Test cases modified and added to go with this code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150067 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 22:01:51 +00:00
Dmitry Serebrennikov
4e84ddc3f5
Added a method used in test cases to determine if a file descriptor is
...
closed. Added troubleshooting code (commented out) to help diagnose
problems around openning and closing files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150066 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:50:11 +00:00
Dmitry Serebrennikov
250f13e99c
Make RAMDirectory's touchFile method wait long enough for the system clock
...
to register a new timestamp. This makes locking logic more robust.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150065 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:45:58 +00:00
Dmitry Serebrennikov
28ef35ee3e
Submitted by: Christoph Goller via Otis
...
Test case to go with the IndexReader change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150064 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:42:53 +00:00
Dmitry Serebrennikov
93b5e6c230
Submitted by: Christoph Goller via Dmitry
...
Slightly modified patch from Christoph to prohibit modifications of an
index by readers that have a stale view of it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150063 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 21:41:51 +00:00
Erik Hatcher
dd29f75e77
Added per-field analysis capabilities
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150061 13f79535-47bb-0310-9956-ffa450edef68
2003-09-25 18:54:55 +00:00
Erik Hatcher
2350513c89
add basic assertion of position increments test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150057 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 13:45:33 +00:00
Erik Hatcher
bbc24bfca5
clarify comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150056 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 13:42:55 +00:00
Erik Hatcher
8958352e85
more phrase query tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150055 13f79535-47bb-0310-9956-ffa450edef68
2003-09-21 13:41:59 +00:00
Erik Hatcher
be4dd1b301
Add test case for PrefixQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150054 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 22:02:52 +00:00
Erik Hatcher
c31601d073
streamlining test case a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150053 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 21:12:41 +00:00
Erik Hatcher
1e5eccf552
test case cleanup - no need to catch unexpected exceptions in test cases, let it fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150052 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 20:29:34 +00:00
Erik Hatcher
8ad878e900
detabify for readability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150050 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 17:42:40 +00:00
Erik Hatcher
9d46cda9e5
fix javadoc warning. exclamation point caused warning - maybe another fix to this, but this will will work for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150049 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:06:47 +00:00
Erik Hatcher
90534ff460
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150048 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:03:54 +00:00
Erik Hatcher
e68cad284e
fix url to JavaCC
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150047 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 14:02:06 +00:00
Erik Hatcher
899c3b1ec3
add back javadoc needed import.... darn IDEA!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150041 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 09:26:06 +00:00
Erik Hatcher
ed585a814d
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150039 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 08:38:04 +00:00
Erik Hatcher
f504aba39b
oops... IDEA lied to me - adding back import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150038 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 21:00:26 +00:00
Erik Hatcher
f4107e810e
butter fingers... renaming test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150037 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:56:12 +00:00
Erik Hatcher
a2f5f1c11d
Implementation of a caching filter wrapper, complete with a test - stil some @todos to consider
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150036 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:52:38 +00:00
Erik Hatcher
063c173eba
implements Searchable is redundant, as Searcher implements it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150035 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:06:32 +00:00
Erik Hatcher
fecc0d27af
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150034 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 20:03:41 +00:00
Otis Gospodnetic
2357f0c106
- Fixed bug 20290
...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20290
- Added @version.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150033 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 12:52:10 +00:00
Otis Gospodnetic
2310d71e07
- Added @version.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150032 13f79535-47bb-0310-9956-ffa450edef68
2003-09-16 12:50:31 +00:00