Commit Graph

292 Commits

Author SHA1 Message Date
Otis Gospodnetic 38d2797fa3 - Some Emacs meta-Q action
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:11:56 +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 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 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 323328ca97 clarify change entry a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464200 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:18:56 +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
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 885e92add1 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@442407 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:06:29 +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 9f374d9202 Applied patch from:
http://issues.apache.org/jira/browse/LUCENE-664

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@434091 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 17:28:04 +00:00
Grant Ingersoll 4ba69db562 Initial check in of scoring.xml documentation. I have also added lucene.css stylesheet and included it in the Anakia Site VSL, although I am open to other ways of including style information on a per document basis (I just don't know Velocity to make the changes).
I have not linked in scoring.xml to the main documentation yet, as I wanted others to proofread/edit before making it official.  Once it is official, I will hook it in via the projects.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433627 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 13:38:16 +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
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
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
Otis Gospodnetic 395115d8d7 - Typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431147 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:06:23 +00:00
Daniel Naber 1d65537c75 remove "s" and "t" as stopwords because they make searching less precise, e.g. "t-online" gives the same results as "online" with "t" being a stopword
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 13:11:09 +00:00
Daniel Naber 52e9e3dac3 LUCENE-641: fix off-by-one bug for maximum field length
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-30 11:56:57 +00:00
Daniel Naber 8c0d234ffa fix LUCENE-638: ignore files unrelated to Lucene in FSDirectory.list(); also make rename more robust by using try/finally
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426774 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:54:48 +00:00
Chris M. Hostetter b747b5c81d LUCENE-623: RAMDirectory.close() now nulls out it's 'file' references
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@419723 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 22:14:07 +00:00
Chris M. Hostetter 13bb6026a7 LUCENE-621 - new static methods for modifing default lock timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418386 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 21:46:29 +00:00
Otis Gospodnetic ddae8f0c57 - LUCENE-593, inner Iterator fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418368 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 20:14:48 +00:00
Chris M. Hostetter 2f24fda616 fixed bug LUCENE-451 by adding new functionality in LUCENE-605 -- new ComplexExplanation class can model matching independent of having a positive value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417275 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 18:38:47 +00:00
Daniel Naber 8ebdf9fc86 LUCENE-608: deprecate Document.fields(), add getFields()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416440 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 18:37:32 +00:00
Yonik Seeley 79ae648af5 syntax change for ecj compilation: LUCENE-611
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416431 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:48:25 +00:00
Yonik Seeley a7dda11801 revert LUCENE-415, it's not needed for lucene 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416424 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:22:06 +00:00
Yonik Seeley 9c011b1b33 disambiguate inner class call to doc() for ecj compilation: LUCENE-610
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416111 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 21:11:53 +00:00
Yonik Seeley e2c8931219 revert Document.getFields for back compatibility: LUCENE-609
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416090 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 19:49:27 +00:00
Yonik Seeley 66a23a8786 truncate new segment files before use: LUCENE-415
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415808 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 21:28:42 +00:00
Yonik Seeley c81983524f ParallelTermEnum.next() fails to advance properly to new fields: LUCENE-607
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415793 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 20:40:06 +00:00
Chris M. Hostetter c5cd491839 LUCENE-557: Lots of new Explanation test cases (and utilities for writing future test cases) as well as fixes for blatent bugs in the Explanation methods of BooleanQuery and FilteredQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415476 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 01:13:13 +00:00
Otis Gospodnetic af594700a0 - LUCENE-601: RAMDirectory and RAMFile made Seriazable. Thanks Karl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@414739 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 05:20:49 +00:00
Yonik Seeley 025936b4ae remove searcher reference from MatchAllDocsQuery so it's Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413965 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 19:45:55 +00:00
Grant Ingersoll d4cc19d03e Implementation of Issue 545. Introduction of new Fieldable interface (extracted from Field) which is now used where Field used to be used. Field now implements Fieldable.
Added new method to IndexReader and derived classes for working with the new FieldSelector interface.  The FieldSelector interface defines a mechanism for doing lazy loading, amongst other things.  Implemented Lazy loading of fields in the FieldsReader class.  Added test case to TestFieldsReader.java

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413201 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 01:23:22 +00:00
Daniel Naber 2b9effb894 deprecate the analysis.nl.WordlistLoader class because it's not robust (fails silently) and use analysis.WordlistLoader instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413180 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 22:15:47 +00:00