Christoph Goller
75c4b52722
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150547 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 12:44:05 +00:00
Christoph Goller
3edae1d01c
Allow stored fields to be compressed (see Bug#31149)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150546 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 12:40:28 +00:00
Christoph Goller
168a155a8b
Bug# 31240
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150545 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 09:19:43 +00:00
Doug Cutting
e2c1b9b313
Describe some recent changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150543 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 16:54:44 +00:00
Doug Cutting
260dcbe4ef
Note the GCJ bug that this is a workaround for.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150542 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 16:29:48 +00:00
Christoph Goller
370639d43e
Patch for Bug# 31240. This patch hopefully removes a
...
memory leak in the sort code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150541 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 15:09:02 +00:00
Christoph Goller
8b1fd56ae0
Wrong cast corrected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150540 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 15:06:56 +00:00
Doug Cutting
197e907924
Fixed so that file is no longer kept open.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150539 13f79535-47bb-0310-9956-ffa450edef68
2004-09-28 21:55:59 +00:00
Doug Cutting
8a241604da
Add an nio mmap based Directory implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150538 13f79535-47bb-0310-9956-ffa450edef68
2004-09-28 21:40:11 +00:00
Doug Cutting
b32c045d35
Updated FSDirectory and RAMDirectory to no longer use deprecated methods.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150537 13f79535-47bb-0310-9956-ffa450edef68
2004-09-28 20:45:26 +00:00
Doug Cutting
79892c1f40
Replace OutputStream with IndexOutput and BufferedIndexOutput to permit unbuffered Directory implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150536 13f79535-47bb-0310-9956-ffa450edef68
2004-09-28 18:15:52 +00:00
Doug Cutting
1b8843fa04
Oops. Fixed a bug I introduced in my last change. Thanks to
...
Cristoph for catching this! I overgeneralized. Sorted results are
not always the highest scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150535 13f79535-47bb-0310-9956-ffa450edef68
2004-09-28 16:54:44 +00:00
Doug Cutting
5a3cfc5372
Compile most of Lucene's core code with a single call to gcj. This
...
permits more cross-class inlining. In particular, the final method
PriorityQueue.size() can inline, which speeds things 7.5% in my
benchmarks. Note that 'final' declarations *do* sometimes make things
faster in GCJ. So let's not remove them all!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150534 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:59:10 +00:00
Doug Cutting
a71929fe4e
Remvoe dead code that GCJ doesn't like.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150533 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:43:47 +00:00
Doug Cutting
a69db22983
Add an import so that GCJ can compile this.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150532 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:42:44 +00:00
Doug Cutting
69d4dc5d06
Add GCJ native code for SegmentTermDocs.read(int[],int[]) to accellerate TermScorer. TermScorer and BooleanScorer are now usually a bit faster under GCJ than under Sun's JVM.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150531 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 18:32:27 +00:00
Doug Cutting
8ca05a3deb
Inline decodeNorm() in TermQuery to make searches faster in Java implementations, like GCJ, where simple methods are not inlined.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150530 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 18:18:27 +00:00
Doug Cutting
e1e3d71cc8
Optimize TermQuery within BooleanQuery, a common case.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150529 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 17:56:00 +00:00
Doug Cutting
b85006589c
Do not construct a ScoreDoc for every non-zero hit, but only for those
...
in the current top scoring set. This makes a substantial performance
improvement for queries that match lots of documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150528 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 17:03:00 +00:00
Daniel Naber
0a5fab187b
Add this file again, but deprecate it. It had been removed already, but re-adding it has the advantage that people will get deprecation warnings instead of compile errors if they use this class. Just like for all the other API changes we have done.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150527 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 19:27:01 +00:00
Doug Cutting
a5302cb962
Add GCJ target. Also change datestamp of jar to per-day rather than
...
per-second so that other targets can be based on the jar file without
having to be rebuilt every second. And fixed a typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150526 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 18:16:50 +00:00
Doug Cutting
ae6229c8cb
Add native GCJ Directory implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150525 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 18:14:25 +00:00
Daniel Naber
49d0e47491
document fix for bug #31241
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150524 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 18:27:21 +00:00
Daniel Naber
65ce0a021b
order was undefined in case of duplicate sort keys, this could lead to incorrect results (documents appearing twice in the result set, other documents missing) if there were more than 100 matches.
...
PR:31241
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150523 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 18:21:17 +00:00
Daniel Naber
ba6bb29e3b
use the same amount of whitespace everywhere, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150522 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 19:24:14 +00:00
Daniel Naber
e6b01e4617
fix toString output; make the comments real javadoc comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150521 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 19:21:14 +00:00
Daniel Naber
6333405ab9
remove unused import statement
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150520 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 19:16:01 +00:00
Daniel Naber
4c5f926cbd
fix link in doc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150519 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 19:15:28 +00:00
Doug Cutting
4e3ce75258
CVS should ignore build and dist directories.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150518 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 21:29:20 +00:00
Doug Cutting
99fdf6af1f
Permit unbuffered index input.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150517 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 21:13:37 +00:00
Doug Cutting
faebce61db
Add options so that this is also useful for search benchmarking.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150516 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 20:57:05 +00:00
Daniel Naber
e0c8c5a469
avoid warnings with "ant javadocs"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150515 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 21:09:00 +00:00
Daniel Naber
6c8289a87c
test if fuzzy query throws ParseException, test getter methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150514 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 19:45:02 +00:00
Daniel Naber
45ac0c2628
add public methods to query the minimum similarity and the prefix length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150513 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 19:44:01 +00:00
Christoph Goller
74cadb2dcf
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150512 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 16:41:26 +00:00
Christoph Goller
99d5aeee4a
Throw ParseException instead of IllegalArgumentException
...
in case of illegal value for FuzzyQuery minimum similarity
parameter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150511 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 13:37:26 +00:00
Christoph Goller
a6fad246dd
Applied patch #29370 supplied by Drew Farris and
...
Bernhard Messer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150510 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 12:50:23 +00:00
Christoph Goller
fd4cd859c5
PhraseQuery and PhrasePrefixQuery are extended. It's now
...
possible to specify the relative position of a term within
a phrase. This allows gaps and multiple terms at the same
position.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150509 13f79535-47bb-0310-9956-ffa450edef68
2004-09-15 09:38:50 +00:00
Daniel Naber
61e338ae88
document Christoph's improvements to FuzzyQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150508 13f79535-47bb-0310-9956-ffa450edef68
2004-09-14 22:19:53 +00:00
Christoph Goller
862b9ea4a7
QueryParser can now handle minimumSimilarity parameter
...
of FuzzyQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150507 13f79535-47bb-0310-9956-ffa450edef68
2004-09-14 13:46:25 +00:00
Christoph Goller
7e0155537a
QueryParser can now handle minimumSimilarity parameter
...
of FuzzyQuery; FuzzyQuery extended to allow for non-fuzzy
prefixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150506 13f79535-47bb-0310-9956-ffa450edef68
2004-09-14 13:45:15 +00:00
Daniel Naber
82fc8e874f
adding a link to PDFTextStream, as requested by Chas Emerick
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150505 13f79535-47bb-0310-9956-ffa450edef68
2004-09-13 22:42:16 +00:00
Daniel Naber
ffac3bd41a
adding Lucene version, as far as people could remember :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150504 13f79535-47bb-0310-9956-ffa450edef68
2004-09-13 21:12:35 +00:00
Daniel Naber
3eeda4437d
Implement readResolve, needed for serializable "enumerations"
...
PR:31174
Submitted by:Todd VanderVeen
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150503 13f79535-47bb-0310-9956-ffa450edef68
2004-09-12 13:16:02 +00:00
Daniel Naber
515cf2153a
slightly improve the benchmark template: add Lucene version, query speed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150502 13f79535-47bb-0310-9956-ffa450edef68
2004-09-12 11:36:59 +00:00
Daniel Naber
54bfbc30de
use the same amount of whitespace everywhere, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150501 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 20:43:43 +00:00
Daniel Naber
d31c31a84f
add an assertEquals, as the variable was not used before
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150500 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 18:10:09 +00:00
Christoph Goller
f4d99f0a7e
Getters for analyzer and field added.
...
Some unnecessary variables deleted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150499 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 15:06:42 +00:00
Christoph Goller
dfeed0220e
Fix ArrayIndexOutOfBoundsExceptions
...
This patch is common to several patches
for QueryParser see e.g. Bug 9110 and it cannot have any
negative side effects.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150498 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 13:31:55 +00:00
Daniel Naber
89d41cd8f1
remove the last calls of the deprecated Field API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150497 13f79535-47bb-0310-9956-ffa450edef68
2004-09-07 18:26:36 +00:00