Commit Graph

1753 Commits

Author SHA1 Message Date
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
Doug Cutting eea1c63a62 Fix FSDirectory.createOutput() to always create new files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179609 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 16:57:10 +00:00
Doug Cutting 4ade1d4606 Add IntParser and FloatParser interfaces to FieldCache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179605 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 16:48:40 +00:00
Daniel Naber 5edb98e537 obtain(long) never really waited for the lock to go away (#33799)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 20:10:58 +00:00
Daniel Naber 17d02d8f2f document the compound file format
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@179407 13f79535-47bb-0310-9956-ffa450edef68
2005-06-01 19:47:14 +00:00
Daniel Naber fa97a9bb13 small javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178902 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 23:21:00 +00:00
Daniel Naber d40ff799e8 javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178894 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 23:00:49 +00:00
Daniel Naber a3f99b1f43 small javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178893 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 22:58:17 +00:00