Commit Graph

274 Commits

Author SHA1 Message Date
Chris M. Hostetter cacf143d65 SOLR-166 - JNDI solr.home code refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509406 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 01:38:26 +00:00
Chris M. Hostetter 5ddfe531ed small bug fix from Ryan over email...
: If you commit a document while the updater is autocommiting, it is
: likely to immediatly start another autocommit (unless you are also
: using maxDocs).
: 
: Here is the one line patch to fix it:


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509349 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 21:54:58 +00:00
Bertrand Delacretaz 4d3d23a806 Explicit version number added ($Id didn't work in a constant?)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509119 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 07:58:10 +00:00
Erik Hatcher 4ac02f06f8 SOLR-86: SimplePostTool, contributed by Bertrand Delecretaz
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509009 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 21:30:03 +00:00
Yonik Seeley 28d75b04bc make solr more easily embeddable: SOLR-149
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508859 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 03:33:13 +00:00
Yonik Seeley 3e80baf529 try to distinguish between quote as a string delimiter or something else: SOLR-140
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508805 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 20:42:45 +00:00
Erik Hatcher 72ef071e96 Correct javadocs with the exception behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508487 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:47:30 +00:00
Erik Hatcher 33c0b65e47 SOLR-79: Add system property ${<sys.prop>[:<default>]} substitution for
configuration files loaded, including schema.xml and solrconfig.xml.
    (Erik Hatcher with inspiration from Andrew Saar)



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508485 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:42:49 +00:00
Erik Hatcher ea7d510901 Adjust Lucene version value to be a String rather than an numeric. I found a case with Ruby where the numeric
was too big to laod when serialiized to a YAML file (maybe this is an edge case?).  It is unlikely that a client
needs to use this as a numeric anyway, but rather as a comparison against later calls to the IndexInfoRequestHandler.




git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@507825 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 05:33:11 +00:00
Erik Hatcher 6b81f79ae9 clean up imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506221 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 02:08:19 +00:00
Erik Hatcher 2db80e7db1 SOLR-157: Fixed NPE caused by index fields which do not appear on schema.xml. (contributed by Ryan McKinley)
Also relocated package from request package to handler package, and removed experimental warning.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506187 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 00:21:36 +00:00
Mike Klaas b5a9abd793 Cancel pending autocommits on DUH2.close()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505114 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 01:20:13 +00:00
Chris M. Hostetter a3775daf45 fix for SOLR-145, some Exceptions were being ignored by RequestHandlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504683 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 20:48:10 +00:00
Mike Klaas 57fef31f73 Modified AutoCommitTest to add an superfluous document when expecting a commit to occur. This
should block if by chance the commit is taking too long.  Possible caveat: delays might also 
cause extra commits.

 --This line, and those below, will be ignored--

M    src/test/org/apache/solr/update/AutoCommitTest.java


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503885 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 21:32:02 +00:00
Yonik Seeley 64166984f6 handle null key for json.nl=flat
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503795 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 18:22:04 +00:00
Yonik Seeley 24d527bb51 change dataDir to return dir containing index
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503488 13f79535-47bb-0310-9956-ffa450edef68
2007-02-04 21:33:20 +00:00
Mike Klaas a77b94cfe4 Patches autocommit max docs test to be less time-sensitive
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503169 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 03:59:04 +00:00
Mike Klaas b0a23e258e fixed typo in test solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502500 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 05:13:13 +00:00
Mike Klaas 6d18f027e0 Commit SOLR-126. Omitted the typed collection change in DUH2 (trunk has been updated), and
added autocommits to the stats tracked by DUH2


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502328 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 19:40:26 +00:00
Yonik Seeley b6dd62544d SimpleOrderedMap, JSON named list changes: SOLR-125
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501512 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 18:36:32 +00:00
Chris M. Hostetter 3c603b2aea SOLR-104 - Support for Update Plugins: giving RequestHandlers access to ContentStreams, new URL structure allowing for more RESTful URLs, common baseclass for RequestHandlers, refactoring existing XML based updates into a RequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501174 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 20:33:21 +00:00
Yonik Seeley dcb98c1eca generics for NamedList: SOLR-107
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500050 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 23:22:52 +00:00
Yonik Seeley 8cf4a87acb facet.prefix: SOLR-117
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499834 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 16:32:01 +00:00
Erik Hatcher 85e54f0043 Update link to Solrs home page (thanks Ryan)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498883 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 01:16:22 +00:00
Yonik Seeley befe8bd62b negative queries: SOLR-80
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498813 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 21:23:22 +00:00
Erik Hatcher bd5ef854d9 Add indexinfo request handler, which returns field information (currently type only) and index state information such as number
of documents and Lucene index version.  This details about fields and the index returned are still being developed, so the
response may change format until this is finalized.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498345 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 15:03:00 +00:00
Yonik Seeley 33ad0e6975 HashDocSet new hash, union, andNot: SOLR-114
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498246 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 05:46:31 +00:00
Chris M. Hostetter 2135986f8d permanent redirect for legacy docs/api links that may be out in mailing lists (prior to graduation, we had a symlink, but that broke when we moved the site, and this is a better long term fix)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@497731 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 08:04:31 +00:00
Yonik Seeley a5810b1e96 try and fix breadcrumb issue again
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@497487 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 16:27:03 +00:00
Yonik Seeley 99925152d3 site updates, lucene logo, release links
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@497299 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 05:10:35 +00:00
Erik Hatcher 06813501ba Add an index page to Solrs webapp, based on a new users experience of expecting something here. IANAWD (i am not a web designer) so just raw page linking to the admin site for now
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@497083 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 17:06:44 +00:00
Yonik Seeley d8195d0721 solr graduation news
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@497039 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 15:08:00 +00:00
Yonik Seeley b9e804e032 facet.mincount,facet.offset,facet.sort params: SOLR-106
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496811 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 18:26:14 +00:00
Bertrand Delacretaz 9737c076ae SolrConfig says 'system property solr.solr.home not set' in the log, when using default Solr home
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496274 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 10:59:46 +00:00
Yonik Seeley 92c5c6933c throw error for missing sort direction, sort on unindexed field: SOLR-99 SOLR-9
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495772 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:48:44 +00:00
Yonik Seeley 6e43239634 maxWarmingSearchers: SOLR-91
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495753 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:00:08 +00:00
Chris M. Hostetter a2beac1e38 SOLR-89 new PatternReplaceFilter, TrimFilter, and corrisponding Factories
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494675 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 01:18:38 +00:00
Chris M. Hostetter 21b830ba5c SOLR-82 - allow default field values to be specified in the schema.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@493170 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 20:12:18 +00:00
Mike Klaas 4202fc353f Changed the query processed by the highlighter for DisMax: instead of using the whole query
(which included boost and filter terms), the highlighting will be limited to the user's query 
terms by default.

 --This line, and those below, will be ignored--

M    CHANGES.txt
M    src/java/org/apache/solr/request/DisMaxRequestHandler.java


git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492793 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 22:47:54 +00:00
Yoav Shapira 445eca12ec test for JUnit presence, and fail with an informative message if JUnit is not present for the build. Somewhat surprisingly, we need JUnit for the core compile target, as opposed to just the compileTests target, so do that test in compile as well. Also a minor language improvement in tutorial.xml for the web site.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@490031 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 15:07:37 +00:00
Chris M. Hostetter e44e51ece0 SOLR-92: better handling of Attributes in DOMUtils.getText
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489961 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 01:10:00 +00:00
Bertrand Delacretaz c19acfe50f comments added to explain the role of these schema files
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489747 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 20:32:02 +00:00
Yonik Seeley 62658b3885 update release date in news, add link to download dir
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489446 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 19:37:51 +00:00
Bertrand Delacretaz a4b637a6db SOLR-90, typo in comments
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489296 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 09:13:20 +00:00
Mike Klaas f0edf7f848 Moved creation of reqeust and response out of the try/finally block. I don't see any way for
them to throw an exception, and it is bad form to reference a variable created in the try in 
the finally block (fortifysoftware issue)

 --This line, and those below, will be ignored--

M    src/webapp/src/org/apache/solr/servlet/SolrServlet.java


git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488778 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 19:31:26 +00:00
Chris M. Hostetter 072c3c5922 removing sitemap.xmap -- doesn't seem to affect the generated site at all using forrest-0.7, and Thorsten Scherler says it prevents our site from building with forrest-0.8
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488760 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 18:55:46 +00:00
Yonik Seeley 48b2a71a04 correct potential null pointer exception in unused DirectUpdateHandler found by fortifysoftware
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488729 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 17:21:00 +00:00
Yonik Seeley 36e388040b fix escapes in StrUtils.split*: SOLR-87
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488728 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 17:08:17 +00:00
Yonik Seeley b2911576f1 commit release news to site. do not sync site yet.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487893 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 21:29:31 +00:00
Chris M. Hostetter a19cb467a9 make link to Javadocs explicitly point at index.html so local file:/// browsing of docs in distributions will work as well
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487868 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 19:37:11 +00:00