Erik Hatcher
9d70229506
#34331 - Add Paul Elschot's Surround query language parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209183 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 02:29:03 +00:00
Erik Hatcher
a8ea081a4d
build adjustments to allow contrib sub-projects to use JavaCC
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@209182 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 02:22:45 +00:00
Daniel Naber
5433a9d324
import statement cleanup; fix javadoc comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208905 13f79535-47bb-0310-9956-ffa450edef68
2005-07-03 10:40:01 +00:00
Daniel Naber
899c7a2bfb
simplify usage of the main method: directory doesn't need to be specified explicitly anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208904 13f79535-47bb-0310-9956-ffa450edef68
2005-07-03 10:33:33 +00:00
Daniel Naber
d9c75bfad0
more test cases to increase code coverage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208851 13f79535-47bb-0310-9956-ffa450edef68
2005-07-02 17:39:57 +00:00
Daniel Naber
f2ac110482
clean up exception handling: there's no need to manually catch exceptions in test
...
cases (unless you expect the exception to be thrown)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208846 13f79535-47bb-0310-9956-ffa450edef68
2005-07-02 16:40:44 +00:00
Daniel Naber
e41ced8f49
clean up exception handling: there's no need to manually catch exceptions in test
...
cases (unless you expect the exception to be thrown)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208807 13f79535-47bb-0310-9956-ffa450edef68
2005-07-01 22:13:53 +00:00
Daniel Naber
9c520544f9
new small test case to increase code coverage of the tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208806 13f79535-47bb-0310-9956-ffa450edef68
2005-07-01 22:07:14 +00:00
Mark Harwood
0062898ada
Updated version of MemoryIndex - reliant on new Term.createTerm() method in Trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208688 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 21:40:05 +00:00
Mark Harwood
fa211e79d6
added createTerm method to create Terms without incurring fieldName.intern() overhead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208682 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 20:57:18 +00:00
Mark Harwood
7894a0c0c0
Added (simple) SpanQuery support - matches any terms declared in Spans - proper impl should check for distances
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208673 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 20:09:58 +00:00
Daniel Naber
c223db7a29
small update, adding links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@208666 13f79535-47bb-0310-9956-ffa450edef68
2005-06-30 19:26:13 +00:00
Daniel Naber
5bf11bffaf
remove unused code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202435 13f79535-47bb-0310-9956-ffa450edef68
2005-06-29 21:39:03 +00:00
Daniel Naber
096a69aec4
small cleanup, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202432 13f79535-47bb-0310-9956-ffa450edef68
2005-06-29 21:31:22 +00:00
Daniel Naber
7d60bb8214
don't print to stdout in test cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-29 19:12:55 +00:00
Daniel Naber
04b155a227
avoid NullPointerException when an analyzer returns null for some term
...
(bug #33848 ), patch inspired by John Wang
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202284 13f79535-47bb-0310-9956-ffa450edef68
2005-06-28 21:43:47 +00:00
Daniel Naber
efc2367ac6
small code simplification suggested by John Wang; added deprecated tag to javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202282 13f79535-47bb-0310-9956-ffa450edef68
2005-06-28 21:18:51 +00:00
Daniel Naber
52cda0c4ef
Most of Wolf Siberski's patch to fix #35241/#31841: MulitSearcher failed on WildcardQuery etc.
...
-this has not been committed: removal of mergeBooleanQueries(); change to BooleanQuery.equals()
-added: a test case that is commented out which shows strange queries like "multi* multi* foo" don't work properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@201453 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 20:43:47 +00:00
Daniel Naber
00b3e9d8a4
new method to get stop words from reader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@192991 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 20:05:13 +00:00
Daniel Naber
ca5b0a3ca0
small javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@192989 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 19:59:03 +00:00
Otis Gospodnetic
94d7f6e9f5
- Applied patch from src/java/org/apache/lucene/analysis/WordlistLoader.java
...
(reading word list from a Reader)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@191754 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 02:31:33 +00:00
Daniel Naber
416190e29d
small typo fix in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@191358 13f79535-47bb-0310-9956-ffa450edef68
2005-06-19 18:25:22 +00:00
Bernhard Messer
d0324fb44e
remove duplicate entry in change log.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189914 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 07:30:15 +00:00
Bernhard Messer
f1a81edf7d
document new index create behavior, that files will not be deleted when a new index is created in the same directory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189798 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 19:17:23 +00:00
Bernhard Messer
b51159aeda
use filenames and extensions from org.apache.lucene.index.IndexFileNames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189794 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 19:00:36 +00:00
Bernhard Messer
ba8ed654fd
use new filename filter in org.apache.lucene.index.IndexFileNameFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189793 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:59:10 +00:00
Bernhard Messer
20acd17c8d
move extension members to new class org.apache.lucene.index.IndexFileNames
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189792 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:58:30 +00:00
Bernhard Messer
7f82450470
useful constants representing filenames and extensions used by lucene
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189791 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:57:20 +00:00
Bernhard Messer
088f61f774
new index filename filter class. Accepts all lucene related index files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189790 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:56:40 +00:00
Daniel Naber
6da2ef197d
update to Apache Software License 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189623 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 19:48:19 +00:00
Daniel Naber
0c8d5ce2df
commenting out test cases, I'm pretty sure these were broken and the new result
...
is now correct thanks to the fixed behavior of MultiSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189622 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 19:28:47 +00:00
Daniel Naber
6455d1a106
document the change in semantics for IndexReader.getCurrentVersion()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189459 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 22:13:44 +00:00
Daniel Naber
748b2419e9
if only score or id is accessed, don't load the document (as that causes
...
a disk access)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@189448 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 21:46:50 +00:00
Daniel Naber
47180b6983
adding getVersion()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@188865 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 20:55:19 +00:00
Daniel Naber
af42440fc0
un-deprecate lastModified() and getCurrentVersion()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@188856 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 20:21:26 +00:00
Daniel Naber
4fd3b6899d
simplify set... methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@185088 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 22:57:18 +00:00
Daniel Naber
1041068de0
"see also" link in javadoc to IndexModifier
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@185087 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 22:54:42 +00:00
Daniel Naber
12f8b24dce
rename test case class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@185083 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 22:43:28 +00:00
Daniel Naber
e2a79a145f
new IndexModifier class that simplifies access to IndexReader and IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@185069 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 22:29:30 +00:00
Bernhard Messer
0532c41143
Implement names for "segments" and "deletable" files in Constants. This removes "hardcoded" filenames and makes code cleaner and easier to maintain.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@180349 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 17:52:12 +00:00
Daniel Naber
3f2a20e6f7
fix the information about the .tii file (but still not 100% accurate, see "TODO")
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@180084 13f79535-47bb-0310-9956-ffa450edef68
2005-06-05 13:10:45 +00:00
Daniel Naber
4114147edd
trivial fixes to javadocs, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@180014 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 19:17:51 +00:00
Daniel Naber
c636897dc4
add isCurrent() and initialise the segments version number with System.currentTimeMillis()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@180010 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 18:16:00 +00:00
Erik Hatcher
2dad1a9807
remove ERROR comments as the bug is not fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179766 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 10:25:50 +00:00
Erik Hatcher
4a7ddf9db8
add link to EuroApacheCon to site
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179761 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 09:50:45 +00:00
Erik Hatcher
50eec44f60
adjust build file to run new site build for docs target
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179759 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 09:47:25 +00:00
Erik Hatcher
e45c04c7ff
#35157 - Fix for SpanTermQuerys in a BooleanQuery. Patch from Reece Wilton.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179679 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 00:22:47 +00:00
Mark Harwood
07cee0b287
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179637 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 20:27:06 +00:00
Daniel Naber
b305174366
fixing the inaccurate javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179621 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 18:18:50 +00:00
Doug Cutting
098a0e95b8
Optimize IndexWriter.addIndexes(Directory[]).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179611 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 17:05:58 +00:00