Commit Graph

2075 Commits

Author SHA1 Message Date
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
Erik Hatcher 729175f73a Modified RegexTermEnum to have more generic logic, Character.isLetterOrDigit(), to determine the prefix for term enumeration.
Also added commented out test demonstrating where prefix logic fails currently.  Perhaps, like FuzzyQuery, we should push the
prefix calculation back to the user of the query for now?



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348692 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 09:09:48 +00:00
Erik Hatcher cf1d106504 LUCENE-470 - Added some more regex tests, contributed by Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348689 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 08:52:02 +00:00
Erik Hatcher 13ea2b0c3f remove mention of non-public DocumentWriter class from Analyzer javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348207 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 18:35:05 +00:00
Erik Hatcher 3bcec33214 Adding stubversion="1.2" prevents <rmic> from recompiling RemoteSearchable
every build because the _Skel class isn't present.  _Skel is a legacy of
JDK 1.1, and no longer used.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348140 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 10:07:42 +00:00
Erik Hatcher e797a8e965 Fix TestSegmentReader, which broke due to previous changes to DocHelper. getPositionIncrementGap tests no longer use DocHelper, to avoid testing conflicts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348137 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 09:35:58 +00:00
Erik Hatcher 4424265faf added getPositionIncrementGap(String fieldName) to Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348061 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 01:46:46 +00:00
Erik Hatcher c958e10770 added getPositionIncrementGap(String fieldName) to Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348060 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 01:46:24 +00:00
Erik Hatcher a4c714d9d5 no longer needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348059 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 01:40:32 +00:00
Daniel Naber e4c82ad613 document LengthFilter, ISOLatin1AccentFilter, and KeywordAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@348001 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 22:03:20 +00:00
Daniel Naber e4d079faa3 test case for LengthFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347996 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:51:46 +00:00