Commit Graph

2007 Commits

Author SHA1 Message Date
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
Daniel Naber c78c2c8936 avoid using deprecated QueryParser method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347995 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:46:26 +00:00
Daniel Naber dea69e3360 tiny whitespace and javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347992 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:41:43 +00:00
Daniel Naber bfde3257dc moving the non-language specific analyzers to core, this is where most users will probably expect them
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@347991 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 21:35:24 +00:00
Yonik Seeley f0b3f57b96 fix deprecated referebces: LUCENE-468
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345920 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 16:00:32 +00:00
Yonik Seeley 6798e96355 SmallFloat: generalized and faster versions of floatToByte/byteToFloat
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345681 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 20:22:36 +00:00
Erik Hatcher a5cd1e7e1b add getTerm to SpanRegexQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345677 13f79535-47bb-0310-9956-ffa450edef68
2005-11-19 20:01:18 +00:00
Yonik Seeley b7f89acd31 remove Java5 dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345449 13f79535-47bb-0310-9956-ffa450edef68
2005-11-18 05:23:51 +00:00
Yonik Seeley 0c5febcb15 comment out log messages on success path
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345093 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 19:38:31 +00:00
Yonik Seeley 3c10854e00 new DisjunctionMaxQuery/DisjunctionMaxScorer from Chuck Williams: LUCENE-323
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345089 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 18:47:37 +00:00
Yonik Seeley c40c7cd114 BooleanQuery/BooleanScorer minNrShouldMatch implementation: LUCENE-395
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345056 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 16:39:59 +00:00
Daniel Naber 31c271c84b import cleanup to avoid Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344474 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 23:21:44 +00:00
Daniel Naber 4fd74d2554 Rename *Test files which are no unit tests to make "ant test" work. See LUCENE-465.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344471 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 23:18:22 +00:00
Daniel Naber 7e079d2950 avoid compiler/Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344468 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 23:15:53 +00:00
Yonik Seeley 292c9dfa72 added ASF copyright
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344415 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 19:29:48 +00:00
Yonik Seeley fd41195ef3 ConstantScoreRangeQuery addition: LUCENE-383
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@344312 13f79535-47bb-0310-9956-ffa450edef68
2005-11-15 05:28:52 +00:00
Erik Hatcher bc428b86a8 note that (Span)RegexQuery not supported by QueryParser.... yet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332861 13f79535-47bb-0310-9956-ffa450edef68
2005-11-13 00:11:23 +00:00
Daniel Naber 7017c1b701 throw IllegalArgumentExeception if value doesn't make sense
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332762 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 11:57:35 +00:00
Erik Hatcher 11866ad09d Correct TestRegexQuery to test RegexQuery rather than SpanRegexQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332748 13f79535-47bb-0310-9956-ffa450edef68
2005-11-12 09:09:49 +00:00