Commit Graph

1762 Commits

Author SHA1 Message Date
Daniel Naber 05d0335dcd offer additional methods that take analyzer + text instead of tokenstream; fix some unused imports and variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154444 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 19:08:52 +00:00
Daniel Naber cf41b3d1cb fix NullPointerException when parsing phrase query with the new MFQP
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154406 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 15:04:49 +00:00
Erik Hatcher db2c7c98e9 Bugzilla #33642 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154346 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 20:49:36 +00:00
Daniel Naber 335c1567d8 remove empty "@return" tags so javadoc stops complaining; small whitespace cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154083 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:37:57 +00:00
Daniel Naber 45864d1c9c clean up imports, remove unused variables and remove the declaration of an Exception that was never thrown
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154080 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:20:15 +00:00
Daniel Naber 25f82f4458 trivial whitespace fix only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154079 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:15:48 +00:00
Daniel Naber 52537afdb6 throw IllegalArgumentException to avoid endless loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154076 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:07:38 +00:00
Erik Hatcher 28e712b2ee update docs to account for TLP migration
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153802 13f79535-47bb-0310-9956-ffa450edef68
2005-02-14 16:48:47 +00:00
Erik Hatcher ea57f0d3ef change EOL style to LF
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153431 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:23:31 +00:00
Erik Hatcher 373e613341 remove unnecessary import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153430 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:11:37 +00:00
Erik Hatcher 2ac412f6b7 move similarity and spellchecker to new contrib area
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153429 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:11:05 +00:00
Erik Hatcher 5c6742ce72 taglib has been abandoned by the original author and is of questionable value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153428 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:09:36 +00:00
Erik Hatcher 6d5d317091 Remove SearchBean - it has been deprecated by the sorting feature in Lucene 1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153427 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:07:20 +00:00
Erik Hatcher f375d09898 add customizable buffer size
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153412 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 15:30:14 +00:00
Erik Hatcher cd0d0937e1 split keyword tokenizer out of KeywordAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153398 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 13:50:37 +00:00
Erik Hatcher 826fef7f6a KeywordAnalyzer contribution - adapted from _Lucene in Action_ code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@152921 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 19:13:05 +00:00
Daniel Naber c1623f84b8 increase version number from 1.5 to 1.9, so that the jar is called lucene-1.9-rc1-dev.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151795 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 23:57:02 +00:00
Mark Harwood 276ab079f5 Added Nicko Cadell's Encoder contribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151622 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 21:31:54 +00:00
Mark Harwood b1555b0bbf Test SVN Commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151615 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 18:12:57 +00:00
Erik Hatcher 0ee1728e6d move two more projects over to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151590 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 15:35:12 +00:00
Erik Hatcher 646f0f0434 Switch ant project to conventional src/java directory structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151589 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 14:51:59 +00:00
Erik Hatcher e75ffc5b11 remove deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151471 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 03:03:22 +00:00
Erik Hatcher 767312d611 add convenient TODO file to keep track of sandbox -> contrib move
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151469 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 02:23:19 +00:00
Erik Hatcher 10904d02f6 fix most deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151468 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 02:21:39 +00:00
Erik Hatcher 887f57eb37 remove unnecessary/outdated/unused files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151461 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 01:28:14 +00:00
Erik Hatcher 0955eef89f move parts of the sandbox over to contrib area
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151459 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 01:25:43 +00:00
Doug Cutting bfffc32a3d Fix for bug #32847. Use uncached access to norms when merging to
minimize RAM usage.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151390 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 19:09:53 +00:00
Bernhard Messer f19e0f7bcc document main method move from CompoundFileReader to IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151383 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 17:46:21 +00:00
Bernhard Messer a14e0acf09 move static main method to list and optionally extract the individual file from a compound index from CompoundFileReader to IndexReader. It is more cleaner to have the method in IndexReader because it is well documented and public available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151381 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 17:45:16 +00:00
Daniel Naber ecd4a7256d fix for #33395: The deprecated constructor of BooleanClause does not set new state (patch provided by Paul Elschot, slightly modified)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151252 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 23:35:26 +00:00
Erik Hatcher ab72513214 note converstion to svn and test commit capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151044 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 20:29:56 +00:00
Erik Hatcher 59969d788a Fix token offsets.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151040 13f79535-47bb-0310-9956-ffa450edef68
2005-01-31 21:19:55 +00:00
Erik Hatcher 70e1848949 Fix token offsets. Contributed by boblannoy <at> tiscali <dot> be
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151039 13f79535-47bb-0310-9956-ffa450edef68
2005-01-31 14:13:38 +00:00
Daniel Naber 4f40db9c86 make it work for me
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151038 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 18:49:02 +00:00
Daniel Naber 6dd382334c make the jar less broken -- however, it still requires a "lib" dir with lucene.jar and libreadline-java.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151037 13f79535-47bb-0310-9956-ffa450edef68
2005-01-23 11:12:51 +00:00
Daniel Naber 7acf916f75 remove some unused variables to get rid of warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151036 13f79535-47bb-0310-9956-ffa450edef68
2005-01-23 00:15:27 +00:00
Daniel Naber 592f6189a0 don't crash ony non-stored fields. small fixes to the help text.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151035 13f79535-47bb-0310-9956-ffa450edef68
2005-01-23 00:11:11 +00:00
Erik Hatcher cd284c4bc6 Update of DBDirectory from Andi.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151034 13f79535-47bb-0310-9956-ffa450edef68
2005-01-18 14:11:09 +00:00
David Spencer 7952217cea Prelim checkin of similarity query generators
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151032 13f79535-47bb-0310-9956-ffa450edef68
2005-01-17 21:05:46 +00:00
David Spencer 9eca2a3160 make sure code works with WordNet2.0 (no problem) and add Query expansion, and comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151031 13f79535-47bb-0310-9956-ffa450edef68
2005-01-11 20:58:11 +00:00
David Spencer 9e7e1d417f prelim rework
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151030 13f79535-47bb-0310-9956-ffa450edef68
2005-01-11 20:13:39 +00:00
David Spencer 613414de82 Use <span> instead of <font> (as in GradientFormatter) to keep Mozilla happy.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151029 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 22:35:15 +00:00
David Spencer d5fe240da1 Make highlightForeground and highlightBackground so that this can be extended in another package, esp in the case where only highlightTerm() is changed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151028 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 22:34:24 +00:00
Mark Harwood b64bf341ff Changed visibility of methods to allow easier extensions - Thx Dave Spencer for suggestion.
Subclasses can now override highlightTerm to format text with spans/divs  etc instead of default <font> tag


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151027 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 21:44:39 +00:00
Mark Harwood 972f2923bb Updated with new information on using new QueryScorer.getMaxWeight
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151026 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 21:28:34 +00:00
Mark Harwood ceb895e772 Chaned score to float and added QueryScorer.getMaxTermWeight (useful for callibrating GradientFormatter)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151025 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 21:17:09 +00:00
Kelvin Tan 96c0bf9c90 Escapes the / character for FireFox 1.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151024 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:38:49 +00:00
Kelvin Tan 67bcfc69b8 Fixed appending of groupModifier even when it is a NO_MODIFIER.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151023 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:37:54 +00:00
Kelvin Tan c6b19891da Fixed display of results in Firefox 1.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151022 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:37:23 +00:00
Mark Harwood c5b61e1671 New GradientFormatter, TermVector helper class and IDF-based fragment scoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151021 13f79535-47bb-0310-9956-ffa450edef68
2004-12-31 11:22:27 +00:00