Commit Graph

854 Commits

Author SHA1 Message Date
Christoph Goller 99b1b2260d disk usage changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150439 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 13:01:49 +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 a34be5b16e document the analyzer move to sandbox
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150437 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 21:17:20 +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 cf7e09486d mention the new FuzzyQuery parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150424 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 19:33:25 +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 1268d0deed Document my "throws IOException" cleanup. It won't affect many people I think.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150406 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:36:39 +00:00
Daniel Naber 683ec6f8dc fixing a typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150405 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:27:30 +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