Commit Graph

1935 Commits

Author SHA1 Message Date
Yonik Seeley 2d85b34db8 add boost to hashCode: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@365976 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 20:22:49 +00:00
Doug Cutting 3a4d2491fa Add TopDocCollector and TopFieldDocCollector. These simplify the implementation of hit collectors that collect top-scoring or -sorting documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@365447 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 22:00:07 +00:00
Erik Hatcher ca6b9ee2e5 add .equals/.hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359537 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 14:25:34 +00:00
Erik Hatcher 396229f18d Remove (Span)RegexQuery from core. Add completely refactored version to contrib/regex allowing pluggable regex implementations. contrib/regex is still a work in progress, and documentation is forthcoming
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359526 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 13:57:40 +00:00
Erik Hatcher aa07efc076 minor HTML encoding issue in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359523 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 13:53:09 +00:00
Yonik Seeley 10ae54c724 add test for hashCode/equals
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359080 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:22:43 +00:00
Yonik Seeley 3852c6263e fix equals() typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359079 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:20:02 +00:00
Yonik Seeley b374f5ffa2 implement, correct, improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@359078 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 17:12:16 +00:00
Yonik Seeley 9513c471f6 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358696 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 04:03:06 +00:00
Yonik Seeley 9b4b499548 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358695 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:51:03 +00:00
Yonik Seeley 27f2d29a10 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358694 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:43:38 +00:00
Yonik Seeley 75c81da538 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358693 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:37:50 +00:00
Yonik Seeley 99c9289a89 improve hashcodes: LUCENE-460
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358689 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 03:14:58 +00:00
Yonik Seeley 9a9da2f770 grab commit lock when getting current version: LUCENE-481
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358685 13f79535-47bb-0310-9956-ffa450edef68
2005-12-23 02:38:23 +00:00
Daniel Naber 9ad46499cf print usage if called with wrong number of arguments; be more verbose
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358655 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 23:39:49 +00:00
Otis Gospodnetic 8125927112 - Initial commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358165 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 01:01:46 +00:00
Otis Gospodnetic 1fe7d48e25 - Handy command line tool for merging Lucene indices
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358156 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 00:05:18 +00:00
Yonik Seeley c86207379d fix score to include boost and query normalization: LUCENE-450
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@358089 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 20:14:30 +00:00
Yonik Seeley a08af8e73d Change DisjunctionMaxScorer to use heap (Chuck Williams)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@356452 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 02:19:46 +00:00
Daniel Naber f3dcf0683c document that extractTerms() can throw an exception if it's called on a non-rewritten query
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355997 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 19:18:50 +00:00
Andreas Vajda f962bd4dae made build.xml accept db.version property argument
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355282 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 23:49:39 +00:00
Doug Cutting e6400c63f0 Fix LUCENE-479: After MultiReader.undeleteAll(), numDocs was incorrect. Contributed by Robert Kirchgessner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355181 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 19:53:06 +00:00
Erik Hatcher cf4c00556c Likewise rename the delete methods for IndexModifier, deprecating the old (though not strictly necessary since IndexModifier was added after 1.4.3)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354934 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 02:14:25 +00:00
Erik Hatcher 331748b8c3 LUCENE-289 - added IndexReader.deleteDocument/.deleteDocuments and deprecated .delete(int)/.delete(Term).
CHANGES.txt already mentions deprecated methods sufficiently, so nothing further to note for this change.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354917 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 00:22:00 +00:00
Yonik Seeley ad9e9bceb4 remove score normalization from expert level search: LUCENE-469
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354819 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 17:48:37 +00:00
Daniel Naber 2f98d903ce fix link to wordnet in SVN
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354487 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 18:16:52 +00:00
Yonik Seeley 3e1787d7db StopFilter ignore case: LUCENE-248
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354253 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 01:36:53 +00:00
Wolfgang Hoschek 63ce2859a7 javadoc cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354001 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 07:11:02 +00:00
Wolfgang Hoschek 4ff370aaa3 javadoc cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354000 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 07:10:24 +00:00
Erik Hatcher 7a3103fac0 Applied patched for LUCENE-324, correcting token offsets returned by ChineseTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@353930 13f79535-47bb-0310-9956-ffa450edef68
2005-12-04 23:07:42 +00:00
Wolfgang Hoschek ebe44ace90 git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351896 13f79535-47bb-0310-9956-ffa450edef68 2005-12-03 05:44:16 +00:00
Wolfgang Hoschek a155416b4d tentative add: Various fulltext analysis utilities avoiding redundant code in several
* classes.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351895 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 05:42:59 +00:00
Wolfgang Hoschek 860733f32e indentation fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351893 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 05:27:50 +00:00
Wolfgang Hoschek f42d7a1e9b indentation fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351892 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 05:26:16 +00:00
Wolfgang Hoschek e28541354d some performance improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351891 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 05:24:31 +00:00
Wolfgang Hoschek efa4d10fa1 some performance improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351890 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 05:22:08 +00:00
Wolfgang Hoschek 317f3f77e9 just a SVN test - please ignore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351887 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 04:32:53 +00:00
Wolfgang Hoschek ec49618824 just a SVN test - please ignore
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351886 13f79535-47bb-0310-9956-ffa450edef68
2005-12-03 04:31:52 +00:00
Bernhard Messer 6cabdf3726 LUCENE-475 - patch from Volodymyr Bychkoviak to reduce memory usage
when loading an index into RAMDirectory.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351779 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:37:50 +00:00
Bernhard Messer abb213261d add JUnit class to test the different RAMDirectory constructors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351778 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:32:15 +00:00
Bernhard Messer 17100557f1 remove local variable never used to avoid compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351777 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:26:23 +00:00
Bernhard Messer 72a781706f delete DocTest which is not a JUnit test and not in use.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351775 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:20:35 +00:00
Bernhard Messer 3c62597540 delete TermInfosTest which is not a JUnit test at all.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351773 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 17:10:35 +00:00
Erik Hatcher 29aafdf3c5 Renamed test files to match the conventional pattern used, allowing these tests to run from 'ant test'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351548 13f79535-47bb-0310-9956-ffa450edef68
2005-12-02 01:21:20 +00:00
Mark Harwood 2da431d139 Added support for field-specific highlighting which respects the fieldnames found in queries. Pass a field name to the QueryScorer in order to only select those field's query terms for highlighting. Updated JUnit tests too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351504 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 22:18:33 +00:00
Erik Hatcher 18b9843fad LUCENE-288 - Patch from Andi Vajda applied to work around a GCJ issue (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15411)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351489 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:50:45 +00:00
Bernhard Messer 530484379e avoid ArrayIndexOutOfBoundsException when startet without index parameter and print usage instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@351472 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:15:53 +00:00
Andreas Vajda fa24e67d6d - changed build to use version 4.3.29 of the C Berkeley DB Java API
- updated copyright notice year ranges to include 2005


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@350095 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 01:43:07 +00:00
Yonik Seeley 3ba5a1d9e5 Change Similarity to use SmallFloat for norm encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@349074 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 04:17:08 +00:00
Yonik Seeley 208760307f Change Similarity to use SmallFloat for norm encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@349073 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 04:14:35 +00:00