Commit Graph

873 Commits

Author SHA1 Message Date
Ryan McKinley b4d1694ef7 SOLR-135: refactoring common classes into a "common" package. This commit moves the files (and updates the imports).
THIS BREAKS API COMPATIBILITY!!!

the next commit will put stub classes in place where the missing classes are.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547101 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 03:26:18 +00:00
Ryan McKinley f461ea38a2 SOLR-193 -- adding clear() to the SolrDocuemnt API. This was used in the parallel SOLR-20 implementaion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547003 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 19:11:30 +00:00
Ryan McKinley 1884a2c84c oops 4 > 3
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546980 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 17:58:33 +00:00
Ryan McKinley c6c0e141bf SOLR-193: Adding SolrDocument and SolrInputDocument to represent documents outside of the lucene Document infrastructure.
This commit includes two functions not in the last (reviewed) patch:
 public Map<String,Collection<Object>> getFieldValuesMap()
 public Map<String,Object> getFieldValueMap()
If there are concerns, we can remove these functions.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546979 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 17:57:40 +00:00
Ryan McKinley 669e43d7af SOLR-259 -- add log.log(Level.SEVERE, ... when solr home isn't found. Thanks Will!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546223 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 18:58:45 +00:00
Yonik Seeley 80aa3bc884 restore catenateNumbers=1 in example schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545604 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 19:53:39 +00:00
Mike Klaas 2ae74da893 Accidently turned off generateWordParts in example schema during testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545599 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 19:10:04 +00:00
Mike Klaas 52d8e2421a SOLR-257: added explicit parameter to schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545598 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 19:05:46 +00:00
Mike Klaas 39e0ff32f2 SOLR-257: add splitOnCaseChange parameter to WordDelimiterFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545597 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 19:02:27 +00:00
Yonik Seeley 8454db1be1 1.2 release news
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545037 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 03:17:18 +00:00
Yonik Seeley 3bd973088c add link to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545020 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 01:56:57 +00:00
Yonik Seeley 8fa60a37eb fix broken apachecon link
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545012 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:53:07 +00:00
Yonik Seeley bf972bef53 1.2 news
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545011 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:49:18 +00:00
Yonik Seeley b4613cb3a7 minor feature updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545000 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:00:39 +00:00
Yonik Seeley b3fd440ba5 fix sorting urls
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544982 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 22:55:43 +00:00
Erik Hatcher 88bf24b000 Add system property setting to allow data directory to be overridden
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544356 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 03:13:31 +00:00
Yonik Seeley 22566505e0 fix FunctionQuery.toString(): SOLR-254
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544342 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 01:40:37 +00:00
Ryan McKinley cc053495de SOLR-253 -- adding KeepWordFilter, the inverse of StopFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544328 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 23:45:00 +00:00
Ryan McKinley 407ca95deb SOLR-135 -- adding empty directory to make patch against
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544055 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 05:23:10 +00:00
Ryan McKinley 4ccd436bf8 SOLR-69: Adding MoreLikeThis support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544018 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 00:27:20 +00:00
Erik Hatcher 1285962e95 Fix issue with String values becoming multi-valued fields. String#each returns multiple values when a string contains newlines
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544012 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 23:31:42 +00:00
Ryan McKinley 817c3d5bab adding svnversion to Implementation-Version
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544006 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 23:04:28 +00:00
Ryan McKinley dc61cf9adc missing import. my bad
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543939 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 16:49:39 +00:00
Ryan McKinley 5aeba950b4 comment spelling errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543839 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 04:03:09 +00:00
Ryan McKinley 89f74f85b9 expanding SolrRequestParsers api to construct a SolrQueryRequest from a Collection, not just a List. (this is useful for an embedded SOLR-20 client)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543831 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 02:57:47 +00:00
Ryan McKinley 404e9ef4c1 static utility classes in SystemInfoHandler don't need to be private
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543771 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 18:31:46 +00:00
Yonik Seeley 37816d294d work around jetty compilation issue of analysis.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543659 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:32:56 +00:00
Erik Hatcher 29222b088c turn off the default terms when asking for field information
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543539 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:21:53 +00:00
Yonik Seeley 08e2f9613f add content type when using curl in the scripts: SOLR-250
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543259 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 21:15:17 +00:00
Chris M. Hostetter a9801dde57 small typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543075 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 07:41:57 +00:00
Ryan McKinley 7e7b3f765b SOLR-249 -- oh my, missing the "throw" for SolrException!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542963 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 22:44:42 +00:00
Yonik Seeley b31cb889b7 bump trunk version to 1.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542877 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 16:56:36 +00:00
Yonik Seeley b91b25fbca add CDDL to LICENSE for binary-only javax.servlet package from Jetty
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542825 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 14:17:24 +00:00
Chris M. Hostetter 0f5fea7c1f include the example/logs/ dir in the package, but exclude it's contents
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542765 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 06:45:56 +00:00
Ryan McKinley 3f4ed6dbb2 Adding jetty NOTICE.txt to solr NOTICE.txt
updated copywrite date and header format (added ====) for solr

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542763 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 06:11:09 +00:00
Yonik Seeley 358055ce21 new jetty needs example/logs dir, so package it
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542758 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 05:46:36 +00:00
Ryan McKinley 574dc9f999 Adding newlines to easymock.jar MIT LICENSE.txt
Updating Jetty license to be consistent with 6.1.3

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542755 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 05:38:53 +00:00
Ryan McKinley 6b2bf1b99c SOLR-249 -- adding error codes not used in solr, but useful for custom plugins.
UNAUTHORIZED( 401 ),
  FORBIDDEN( 403 ),

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542737 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 03:13:05 +00:00
Yonik Seeley 7495648e55 update version of easymock license
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542727 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 02:38:11 +00:00
Yonik Seeley 1213ba097c add easymock license
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542725 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 02:35:53 +00:00
Ryan McKinley f66d0e6602 SOLR-249 -- changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542720 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 02:06:31 +00:00
Ryan McKinley e3dd7faecf SOLR-249 -- depreating new SolrException( int ... ) in favor of new SolrException( enum ...
This also refactors all calls to new SolrException()

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542679 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 22:28:21 +00:00
Yonik Seeley d45042208b add ASF license
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542653 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 21:11:35 +00:00
Chris M. Hostetter 1e5e40cb9c SOLR-238: make tutorial explicit about the version it applies to
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542626 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:16:09 +00:00
Yonik Seeley 48033cc123 don't use NIO for jetty... non-persistent connections are slow on windows. SOLR-128
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542609 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 18:25:07 +00:00
Yonik Seeley e864ab6cd8 add usage comments, reformat
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542583 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 16:33:23 +00:00
Yonik Seeley 1e6537cf5e make spellchecker lazy so spell dir won't be created
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542577 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 16:04:57 +00:00
Ryan McKinley 7403608cab Error code cleanup. Changing:
SolrException( 1, ... ) to SolrException( 500, ... ) 
 SolrException( 2, ... ) to SolrException( 400, ... )

Now, the only status codes set in SolrExceptions are valid HTTP status codes: 
 500
 400
 503
 404



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542461 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 08:52:03 +00:00
Chris M. Hostetter a92abb20e3 more hints for people about the format versions of the example rss/atom stylesheets
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542372 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 01:30:58 +00:00
Mike Klaas 6de7d1dbbc changed example solrconfig.xml to default to lazy field loading
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542300 13f79535-47bb-0310-9956-ffa450edef68
2007-05-28 19:13:36 +00:00