Daniel Naber
5befa0d3ac
make the test case timezone independent
...
Submitted by: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 18:08:51 +00:00
Doug Cutting
1a78116cc7
Add a command-line option which permits the norms from a single field
...
to be used for all fields. Norms are read into memory, using a byte
of memory per document per searched field. This can cause search of
large collections with a large number of fields to run out of memory.
If all of the fields contain only a single token, then the norms are
all identical, and a single norm vector may be shared.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150605 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:33:14 +00:00
Doug Cutting
b2416b3039
Check the type of the IndexInput rather than the Directory to detect
...
native implementation. This is a simpler and more correct test. It
also permits the Directory to return a mixture of native and
non-native IndexInput implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150604 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:23:26 +00:00
Doug Cutting
feaea07b3c
Only mmap .frq files, to conserve address space.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150603 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:19:58 +00:00
Doug Cutting
55e076372a
Correctly translate errors from mmap() into exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150602 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:19:06 +00:00
Doug Cutting
c429a5f1e6
Reverse a mistaken optimization. With a larger collection and set of
...
queries I find that a table size of 2k works best.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150601 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 17:12:04 +00:00
Daniel Naber
46ceb15879
fix HTML (& must be escaped as & in URLs); escape query in the "more results" link; fix typos in comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150600 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 22:14:26 +00:00
Daniel Naber
ce7aaab8af
fix typo in target name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150599 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 17:53:40 +00:00
Christoph Goller
25d89037c6
default prefix length set to 0 instead of 2 until our test
...
suggest a better value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150598 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 09:42:02 +00:00
Christoph Goller
5d4c27b23d
Reinsert old API for getFieldQuery, getRangeQuery, and
...
getFuzzyQuery and deprecate it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150597 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 09:36:12 +00:00
Daniel Naber
e5cd911a29
deprecate the public fields, add get/set methods instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150595 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 21:24:39 +00:00
Daniel Naber
257adde8c7
trying to make the testcase timezone independent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150594 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 20:32:44 +00:00
Doug Cutting
b6d184b28f
Restore an import required by GCJ's compiler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150593 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 17:07:39 +00:00
Daniel Naber
2950ecc4f7
remove useless placeholder comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150591 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:58:48 +00:00
Daniel Naber
cc7490d251
some javadoc comment improvements
...
PR: 31350
Submitted by: Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150590 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:43:18 +00:00
Daniel Naber
38fb6ab76d
fix for a typo in a javadoc comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150589 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 18:37:47 +00:00
Daniel Naber
31fdebb91c
remove code that was commented out, fix whitespace, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150588 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 16:07:19 +00:00
Daniel Naber
1bb4a0a252
use the non-deprecated API, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150587 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 16:05:36 +00:00
Daniel Naber
d644998f55
use the non-deprecated API, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150586 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:58:32 +00:00
Daniel Naber
8bf11bc856
cleanup: don't declare exceptions that can never be thrown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150585 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:44:45 +00:00
Daniel Naber
a25fdef56d
call static methods via class, not via object (better style, no functional change)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150584 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:44:09 +00:00
Daniel Naber
ef02d9af38
copied from TestPhrasePrefixQuery, added a test for toString() and added a test where the first term is expanded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150583 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:33:56 +00:00
Daniel Naber
59f20d1ada
Deprecate PhrasePrefixQuery and copy it to MultiPhraseQuery; also fix toString() in MultiPhraseQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150582 13f79535-47bb-0310-9956-ffa450edef68
2004-10-10 15:27:15 +00:00
Doug Cutting
e56faa3097
Optimize term dictionary lookup to allocate fewer terms.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150581 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 15:58:49 +00:00
Daniel Naber
1f11f2e937
print usage information if user requests it with -h or -help
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150580 13f79535-47bb-0310-9956-ffa450edef68
2004-10-07 18:19:16 +00:00
Daniel Naber
135f24a875
don't declare an Exception that can never be thrown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150579 13f79535-47bb-0310-9956-ffa450edef68
2004-10-07 18:10:52 +00:00
Daniel Naber
5738ff629e
small typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150578 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 21:15:02 +00:00
Daniel Naber
32879aea8d
import cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150577 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 21:02:26 +00:00
Daniel Naber
c37a40f444
don't declare an Exception that can never be thrown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150576 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 21:01:55 +00:00
Daniel Naber
aca15c3e1d
call static methods via class, not via object (better style, no functional change)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150575 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 21:01:12 +00:00
Daniel Naber
251d0f5a54
make toString() output slightly more logical (compressed only refers to stored fields)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150574 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 20:03:25 +00:00
Daniel Naber
01e3ab0d13
small fixes for javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150573 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 19:55:42 +00:00
Christoph Goller
a433e2c1de
FuzzyQuery is now using a default prefix length of 2 in
...
order to become usable for big indices. Furthermore, it
no longer throws TooManyClausesException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150572 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 16:19:52 +00:00
Christoph Goller
435e471111
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150571 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 12:15:05 +00:00
Christoph Goller
bcafc0d719
readResolve has to be accessible from all subclasses.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150570 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 11:26:43 +00:00
Christoph Goller
4953fa5c71
Remove synchronization from TermVectors
...
(Patch #30736 )
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150569 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 10:40:23 +00:00
Christoph Goller
3e955f8c77
Introduce a serializable Parameter Class.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150568 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 09:19:04 +00:00
Christoph Goller
bbf79a5ad0
Remove some deprecated warnings from core.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150567 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 09:05:56 +00:00
Christoph Goller
f1667be0fc
Grant's nw termvector patch (Bug #18927 ) applied with
...
some modifications.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150566 13f79535-47bb-0310-9956-ffa450edef68
2004-10-05 17:30:48 +00:00
Doug Cutting
c6d6a390df
Fix so that tests run with alternate Directory implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150565 13f79535-47bb-0310-9956-ffa450edef68
2004-10-04 19:46:23 +00:00
Doug Cutting
36fab121e3
Remove mention of limitation that no longer exists.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150564 13f79535-47bb-0310-9956-ffa450edef68
2004-10-04 19:45:27 +00:00
Doug Cutting
d82e2362f4
Improved version by Paul Elschot that can handle files longer than 2^31.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150563 13f79535-47bb-0310-9956-ffa450edef68
2004-10-04 19:44:11 +00:00
Doug Cutting
07c48aa589
Disable optimized implementation with compound format.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150562 13f79535-47bb-0310-9956-ffa450edef68
2004-10-04 19:05:05 +00:00
Doug Cutting
7fec8b5ff9
Updated docs for 1.4.2 release.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150561 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 21:49:26 +00:00
Daniel Naber
360d91dde7
Adding a small comment that says people should use only one IndexSearches for all searches.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150554 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 20:53:07 +00:00
Christoph Goller
d187ef261c
Use byte instead of short as bit-mask.
...
No functional change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150548 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 13:36:57 +00:00
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