Commit Graph

1131 Commits

Author SHA1 Message Date
Mark Harwood bb00247904 QueryParser changed to default to use of ConstantScoreRangeQuery for range queries.
Added useOldRangeQuery property to QueryParser to allow selection of old RangeQuery class if required.
Updated Junit tests. 
Updated javadocs for RangeQuery to reflect the new default behaviour in QueryParser

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@475435 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 21:26:09 +00:00
Yonik Seeley 7ca20ee19f new ASF licenses header
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@472959 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 16:21:50 +00:00
Yonik Seeley 4a5ace9a4e remove incorrect javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@470109 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 21:35:32 +00:00
Yonik Seeley c0d330c041 Lazy skipping on proximity file: LUCENE-687
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 22:00:31 +00:00
Yonik Seeley eea8ea91b4 new test: LUCENE-695
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469271 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:53:11 +00:00
Yonik Seeley a20830e78f new test: LUCENE-528
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469269 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:52:24 +00:00
Chris M. Hostetter 1a5ac808c8 LUCENE-569: Fixed bug in ordered SpanNearQueries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468554 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 22:03:53 +00:00
Otis Gospodnetic 7abe11514a - LUCENE-489: Add support for leading wildcard characters to QueryParser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468291 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:17:24 +00:00
Yonik Seeley 4dfdd6a0af new IndexWriter.addIndexesNoOptimize(): LUCENE-528
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468177 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:47:15 +00:00
Yonik Seeley 19bf841c27 Improve BufferedIndexInput.readBytes() performance: LUCENE-695
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468172 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:25:44 +00:00
Otis Gospodnetic 1eb10aba44 - LUCENE-657: Made FuzzyQuery non-final and the inner ScoreTerm class, protected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467853 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 03:49:58 +00:00
Yonik Seeley e1b804ff9a added nested conjunction tests: LUCENE-693
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467843 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 02:51:25 +00:00
Yonik Seeley 7eca52679f factor boost into hashCode and equals to pass generic tests: LUCENE-698
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467559 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:24:10 +00:00
Yonik Seeley 71c3f0332d ensure Scorer.skipTo() is interchangeable with next(): LUCENE-696
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467558 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:20:34 +00:00
Yonik Seeley bc23956ebb ConjunctionScorer tests: LUCENE-693
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467539 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 01:46:15 +00:00
Otis Gospodnetic 59d5576068 - Removed tabs and extra spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@466016 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 07:09:06 +00:00
Yonik Seeley d969f3ce2e help TestThreadSafe fail faster
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465996 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:13:32 +00:00
Yonik Seeley c270fa8a2f test demonstrating problem cloning active IndexInput in LazyField: LUCENE-690
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465995 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:10:49 +00:00
Yonik Seeley 247a4e2f4c unsafe use of IndexInput.clone(): LUCENE-690
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465958 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 03:08:02 +00:00
Yonik Seeley 936b7ba82a fix sharing of native locks by diff dirs: LUCENE-678
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465882 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 21:03:22 +00:00
Yonik Seeley 901c8c379c DisjunctionSumScorer performance improvement: LUCENE-365
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465114 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 00:56:08 +00:00
Otis Gospodnetic b75358ebc9 - LUCENE-544 - allow per-field boosts to be specified.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465081 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 22:26:57 +00:00
Yonik Seeley 3c35b82cb0 ConjunctionScorer performance increase: LUCENE-443
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465043 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 20:50:52 +00:00
Yonik Seeley 70472ad2cd NativeFSLockFactory: LUCENE-678
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464611 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 18:28:02 +00:00
Yonik Seeley cb4f27f25f data corruption reading lazy loaded fields: LUCENE-683
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464313 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 22:37:52 +00:00
Daniel Naber 32b1946cc1 LUCENE-684: improve javadoc of deleDocuments(Term), thanks to Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464201 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:22:51 +00:00
Grant Ingersoll 1fad6b0052 Added javadocs for FieldSelectorResult.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454769 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 15:02:29 +00:00
Grant Ingersoll 75f561901e Updated scoring information to only have one copy of the Scoring Formula. Implemented Doron Cohen's new scoring formula description in the javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454767 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 14:57:25 +00:00
Yonik Seeley 0d4e1b171d remove LazyField.chars to reduce memory consumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454434 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 17:26:49 +00:00
Yonik Seeley efab233ed8 new PrefixFilter from Solr: LUCENE-676
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@453381 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 21:10:30 +00:00
Otis Gospodnetic 7456fdc365 - Small wording changes to make javadoc a bit easier to understand
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@448454 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 04:07:41 +00:00
Yonik Seeley b1322d5acd retain zero size segments resulting from a merge: LUCENE-672
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@447570 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 21:26:02 +00:00
Yonik Seeley 4465baafa5 new segment merging policy: LUCENE-672
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@443434 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 18:31:21 +00:00
Grant Ingersoll d0b971a021 Updated scoring.xml per suggestions by Doug and Chris on issue 664. Moved the Query information and Similarity info to the o.a.l.s package.html in the Javadocs and provided links to the javadocs from the scoring file.
Added scoring.html into the project.xml so that it will now be live on the Lucene java site.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@442406 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:05:20 +00:00
Yonik Seeley d0f5077d27 remove accidentally added file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438135 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 18:01:27 +00:00
Yonik Seeley 82d2306b41 remove accidentally added files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437905 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:39:08 +00:00
Yonik Seeley f0375e3f82 remove accidentally added files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:38:20 +00:00
Yonik Seeley 254945aa32 Decouple locking from Directory: LUCENE-635
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:13:10 +00:00
Grant Ingersoll 8456ba93f8 Changed explain method to use TermDocs.skipTo instead of looping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433081 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 23:11:00 +00:00
Chris M. Hostetter 9763d03f48 LUCENE-650: Fixed NPE in Locale specific String Sort when Document has no value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433049 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 21:17:59 +00:00
Grant Ingersoll d4cc53d466 Initial check in of TestTermScorer. All test methods should pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432734 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 21:32:37 +00:00
Yonik Seeley abb1bfc290 move singleDocSegmentsCount maintinence to mergeSegments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432580 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 13:33:16 +00:00
Yonik Seeley fa293670a1 fix getPositionIncrement: LUCENE-659
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432443 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 00:16:42 +00:00
Yonik Seeley 8e3608845d keep track of number of buffered documents: LUCENE-388
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432125 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 02:52:21 +00:00
Daniel Naber 7a90732466 don't use deprecated method (thanks to Simon Willnauer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 18:31:36 +00:00
Otis Gospodnetic f7849f1469 - Undid LUCENE-388, as it turned out it caused problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 06:58:42 +00:00
Otis Gospodnetic c5d950da35 - LUCENE-388: optimize maybeMergeSegments() to speed up indexing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431153 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 08:20:13 +00:00
Otis Gospodnetic a9691a40e8 - Modified some CJK Unicode code point ranges in StandardTokenizer.jj,
and added a few more of them to increase CJK character coverage.
  Also documented some of the ranges.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431152 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:47:34 +00:00
Otis Gospodnetic 5705f8dfd2 - LUCENE-478: Updated Unicode code point ranges for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431151 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:02:26 +00:00
Otis Gospodnetic 1a933665d6 - LUCENE-629: indexing and optimizing performance improvements when working with compressed fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431148 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:12:07 +00:00