Commit Graph

1679 Commits

Author SHA1 Message Date
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
Daniel Naber 27597a5c71 small javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178892 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 22:40:36 +00:00
Daniel Naber fe52019614 javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178880 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 19:21:49 +00:00
Daniel Naber 06bb3230ff make this non-public, as it's not documented properly and has a confusing name
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178878 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 19:05:54 +00:00
Daniel Naber 3dc6861571 not public anymore + javadoc fixes (by Paul Elschot)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178872 13f79535-47bb-0310-9956-ffa450edef68
2005-05-28 15:57:54 +00:00
Daniel Naber bd2345d856 small javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178839 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 23:07:00 +00:00
Daniel Naber 952cfd54be small javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178833 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 23:02:07 +00:00
Daniel Naber 816f370c0e small javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178832 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 23:00:49 +00:00
Daniel Naber f4e819c006 update URL in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178268 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 20:18:18 +00:00
Daniel Naber 30051ef3b5 adding setMaxFieldLength() to the example; Jakarta -> Apache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178245 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 18:53:21 +00:00
Daniel Naber 9d2d4ead75 use entity for umlaut
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178239 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 18:44:20 +00:00
Erik Hatcher f9cda45f7d adjust hashCode based on feedback from Paul Elschot
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178149 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 10:15:23 +00:00
Erik Hatcher 2762141057 implement .equals/.hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178059 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 01:35:13 +00:00
Daniel Naber 061a2074e0 test to show that "*" can be used as the first character, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178009 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 20:16:54 +00:00
Daniel Naber d282afeb94 small javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178005 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 19:10:12 +00:00
Doug Cutting b0cf756698 I'm no longer soliciting new contracts.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@178002 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 18:52:53 +00:00
Daniel Naber 053ff701e0 small javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@177997 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 18:39:02 +00:00
Daniel Naber c3f5eb0eb4 import cleanup; small javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@177987 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 17:58:40 +00:00
Daniel Naber 085ba51c9b even better spam-protect our email addresses
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@171237 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 18:38:27 +00:00
Erik Hatcher 79bc8a4593 add .equals/.hashCode to SpanTermQuery to allow comparison and collections to work logically. The other SpanQuery subclasses should probably have a similar adjustment and I will take care of those as I run into cases where it is necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170853 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 01:30:43 +00:00
Bernhard Messer c5600176d2 optimized buffer handling and runtime optimization.
The initial buffer size is set to 10 characters, so it doesn't have to be increased that often.
If the buffer has to grow, just copy the identical pattern and not the whole string.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170226 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 15:04:39 +00:00
Daniel Naber e8ba60ce87 trying again to re-adding the features page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170181 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 23:07:52 +00:00
Daniel Naber 498cf19c97 re-adding the features page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170180 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 23:07:10 +00:00
Daniel Naber ec9485f9a6 re-adding the features page and a link to it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170179 13f79535-47bb-0310-9956-ffa450edef68
2005-05-14 23:05:04 +00:00
Erik Hatcher 11d6c9e87b controversial: do not fail the build for contrib components not building successfully. this is to make Gump happy for now, but in the future a more granular conditional build of each contrib project may be desirable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@170003 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 10:21:54 +00:00