Commit Graph

144 Commits

Author SHA1 Message Date
Ryan McKinley 81d4040cff SOLR-536 -- putting back the getBeans function, and keeping SolrServer as a transient variable
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@671037 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 06:10:31 +00:00
Ryan McKinley 0737e7469d SOLR-602 -- add method chaining to SolrQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@671036 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 06:06:07 +00:00
Ryan McKinley 0953aa3e6a SOLR-536 -- remove recently added "getBeans()" function from QueryResponse. Adding the variable SolrServer makes the response unserializable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@671034 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 05:53:17 +00:00
Yonik Seeley 6190ce076f SOLR-486: make javabin the default for solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@668731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 16:29:33 +00:00
Yonik Seeley 0b20b5e658 SOLR-486: make javabin the default for SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@668661 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 13:37:55 +00:00
Ryan McKinley a00f94c4a9 SOLR-536 - adding the binder to SolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@666684 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 14:38:49 +00:00
Ryan McKinley 993226e54f git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@663693 13f79535-47bb-0310-9956-ffa450edef68 2008-06-05 18:16:44 +00:00
Ryan McKinley eaaf6236da SOLR-536: use ConcurrentHashMap
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@663686 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 18:03:21 +00:00
Ryan McKinley bb26cafda2 adding an error message if you create a CommonsHttpSolrServer with parameters in the baseURL
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@663645 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 16:02:35 +00:00
Ryan McKinley f2ce567269 SOLR-536: Add a DocumentObjectBinder to solrj that converts Objects to and from SolrDocuments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@663643 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 15:40:26 +00:00
Erik Hatcher 81731ea9b8 javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@660511 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 13:35:45 +00:00
Erik Hatcher da6341f0ec Add additional UpdateRequest constructor to allow custom update URLs to be used
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@660509 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 13:35:22 +00:00
Ryan McKinley 0a58ceee76 add get/set for luke 'count' field
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@654915 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 18:49:02 +00:00
Grant Ingersoll 6b7518d4b4 SOLR-400: Handle OpenDNS failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@648683 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 12:38:35 +00:00
Yonik Seeley edfcaa6161 SOLR-486: Binary response format
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@648384 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 19:22:38 +00:00
Yonik Seeley 1e5bd1390b remove redundant new
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@647197 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 15:22:14 +00:00
Chris M. Hostetter aca45bce71 SOLR-533: Fixed tests so they don't use hardcoded port numbers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@647048 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 05:22:54 +00:00
Yonik Seeley a04d84f27c SOLR-512: set parameters on UpdateRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@641486 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 19:03:08 +00:00
Ryan McKinley bd9aeb7b5b SOLR-350 -- fixing more jsp references... added tests to check "/solr/" and "/solr/admin/threaddump.jsp"
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@641106 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 01:39:01 +00:00
Ryan McKinley 68aaec038a make SolrServer serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@640964 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 20:10:12 +00:00
Ryan McKinley 5e3d3a2df0 SOLR-350 -- removed static access for SolrMultiCore. Also adding a new constructor to MultiCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@640843 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 15:01:23 +00:00
Ryan McKinley 7a32b537a9 SOLR-503 -- restructure src/webapp to keep jsps and WEB-INF in same directory. Added test to hit jsp files. (currently only checks if they compile ok)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@640123 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 23:57:52 +00:00
Grant Ingersoll b331ca07fa SOLR-497: Added date faceting to QueryResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@638357 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 13:12:27 +00:00
Ryan McKinley 45d3ab73a2 start and rows are not field parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@636349 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 14:50:12 +00:00
Ryan McKinley 0d633bdcea SOLR-350 -- make MultiCore subclassable so to allow custom persistance methods (for example, SQL)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@635334 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 19:29:04 +00:00
Ryan McKinley a5acf417d1 SOLR-350 -- manage multiple cores. This implements persist, load and unload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@633360 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 04:06:17 +00:00
Ryan McKinley dd622ea5f5 SOLR-476: CommonsHttpSolrServer can set the ResponseParser on a per request basis.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@632228 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 05:34:51 +00:00
Yonik Seeley cc61bb647b SOLR-303 Distributed Search over HTTP
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@631357 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 19:47:07 +00:00
Chris M. Hostetter 8cf3175518 SOLR-127: HTTP Caching awareness
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@630037 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 22:44:19 +00:00
Ryan McKinley 7735a84c2a SOLR-467 -- remove "core" options from solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@617933 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 00:15:33 +00:00
Ryan McKinley ea27734f4e adding @Override to subclasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@615267 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:53:27 +00:00
Ryan McKinley b396846531 deleting duplicate file
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@615263 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:45:51 +00:00
Yonik Seeley 4c9faf1c00 SOLR-457: SolrJ updates - allow client to pass HttpClient, change interfaces to classes, use InputStream for XML parser, make XML factory static
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@615112 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 05:18:16 +00:00
Ryan McKinley 17c461e26d SOLR-436: To make future changes easier, SolrServer changed from an interface to an abstract super class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@614633 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 19:31:31 +00:00
Ryan McKinley e71870c4f6 removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@614585 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 17:29:43 +00:00
Ryan McKinley 24006c12d2 SOLR-462: Changes to CommonsHttpSolrServer.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@613304 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 22:46:58 +00:00
Ryan McKinley 107eebe1a3 change test to make sure everything is cleared first
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@613056 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 05:11:50 +00:00
Ryan McKinley be28a247ec SOLR-434 - change interfaces should support >2B docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@610414 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 15:14:09 +00:00
Ryan McKinley d029ba59c8 make SolrResponse Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@609879 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 05:52:51 +00:00
Ryan McKinley 2a074e6dc1 let SolrQuery take null start/rows to remove them (rather then throw NPE)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@609854 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 02:57:08 +00:00
Ryan McKinley b80c55ebb4 no functional changes -- adding faceting test for solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@609740 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 18:57:49 +00:00
Ryan McKinley 8729434f96 use ClientUtils to escape filterQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@608638 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 21:30:39 +00:00
Yonik Seeley a7610123de SolrJ xml parsing: allow different types in an array and allow null in array
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@608637 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 21:30:05 +00:00
Ryan McKinley edddef5231 make FacetField.java Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@608595 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 18:54:44 +00:00
Ryan McKinley 641e7f3c4a Adding getters for start/rows. Also setter for sort
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@607650 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 02:05:06 +00:00
Ryan McKinley e4d59581ca adding getQuery() for bean access
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@607095 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 17:22:45 +00:00
Ryan McKinley 0841e7ea33 SOLR-350 -- dropping 'default' core usage and requiring the core name in the URL. Also fixes broken admin links (SOLR-441)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@606335 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 22:23:39 +00:00
Ryan McKinley ef5c818a43 see http://www.nabble.com/Resource-contention-problem-in-Solrj-to14389367.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@605324 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 20:44:54 +00:00
Ryan McKinley f14885cf0b SOLR-350, SOLR-409 -- adding configurable support for running multiple cores in one sole instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601975 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 03:49:52 +00:00
Ryan McKinley 69f9e931e9 Adding a utility function to convert SolrDocument -> SolrInputDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601900 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 22:55:47 +00:00
Ryan McKinley cbfc1f07a2 SOLR-421 -- make SolrParams and Solr*Documents serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600589 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 16:35:59 +00:00
Ryan McKinley 9d7995d57c removing the setFacetMinCount() from addFacetField(). see:
http://www.nabble.com/small-bug-in-solrj--resultquery.addFacetField-overwrites-resultquery.setFacetMinCount-to-1.-tf4895967.html

Also fixing the setFields() issue

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@599487 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 15:26:04 +00:00
Ryan McKinley c4f99ab049 SOLR-408 adding PingRequestHandler.java and deprecating <pingQuery> syntax
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@593627 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 19:24:18 +00:00
Ryan McKinley 37345a65d3 Adding tests to make sure you get FieldTypeInfo when you ask for the schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@586516 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:02:31 +00:00
Ryan McKinley 4c92caea68 increasing timeout for LargeVolumeJettyTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@584598 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 20:16:53 +00:00
Ryan McKinley cc005c832e SOLR-378 -- increase timeout to hopefully avoid nightly failures...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@584322 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:32:35 +00:00
Ryan McKinley 872e407adc Like SOLR-360, the solrj XMLInputFactory needs to be thread safe...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@582349 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 17:11:24 +00:00
Ryan McKinley 0d4fec041f refactor solrj ClientUtils to avoid autoboxing float <> Float. also, don't send float value=1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581340 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:29:29 +00:00
Ryan McKinley 1fcddcc76e moving generally useful DirectXmlRequest from the test package to solrj/request
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581121 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 01:01:36 +00:00
Ryan McKinley 6fe636ca06 SOLR-369 -- EmbeddedSolrServer needs to call req.close() after query. Thanks Renato
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581065 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 20:26:11 +00:00
Ryan McKinley 7d3906e372 SOLR-359 -- adding getters for fields removed in #580089
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580790 13f79535-47bb-0310-9956-ffa450edef68
2007-09-30 21:19:13 +00:00
Ryan McKinley 39e99c9a63 1. remove @deprecated servlets: /select and /update from JettySolrRunner (added in 1.3)
2. added a main() function to JettySolrRunner so you can easily debug the example setup from within eclipse

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580763 13f79535-47bb-0310-9956-ffa450edef68
2007-09-30 18:34:38 +00:00
Erik Hatcher ebf602df89 SOLR-359: LukeResponse.FieldInfo should expose the selected flags info and the indexInfo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580089 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:43:42 +00:00
Ryan McKinley 6d8ae540e2 SOLR-215 -- extracting multicore config stuff from SOLR-350. This does three key things (that will make SOLR-350 easier to maintain)
1. extract SolrCore from SolrRequestParser -- this lets it be shared across cores
2. go back to the 1.2 interface for XmlUpdateRequestHandler
  public void doLegacyUpdate(Reader input, Writer output)
3. add a constructor to Config that lets you set the instanceDir explicitly (otherwise it forced static and needs to be specified as a property)


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@578507 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 21:44:38 +00:00
Ryan McKinley da32f1d023 SOLR-360 -- removing static JUnit references
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577437 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 20:33:03 +00:00
Ryan McKinley aec2619ae0 SOLR-260 -- adding solrj tests for fast concurrent updates. With the commited low number for threads and docs, these would not always fail. But increasing the number takes a long time to run.
I think we should leave it low and let people increase the value for performance testing...  these will fail if something is amiss with concurancy even at low numbers.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577427 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 19:53:11 +00:00
Ryan McKinley 533f5cb7a5 SOLR-361 : refactor solrj tests so they are more extendable
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577394 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 17:31:05 +00:00
Ryan McKinley deafb3207e escape all non-alpha/numeric characters with \
Thanks erik.  See also: 575369 

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@575809 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 22:45:02 +00:00
Ryan McKinley 4d8f34f394 ClientUtils escapes !
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@575369 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 16:51:35 +00:00
Ryan McKinley 1bccc85177 ClientUtils also needs to escape the slop: ~
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@575064 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 20:19:13 +00:00
William Au 39328264aa use a combination of default values that is supported by Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574920 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 12:40:55 +00:00
William Au 14e8c34757 SOLR-352: remove duplicated commit and optimize
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 14:19:38 +00:00
William Au 7f54a7c94e SOLR-335: work-around in lieu of PingRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574605 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 14:18:03 +00:00
William Au 2b25ec85ef SOLR-335: work-around in lieu of PingRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574600 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 14:08:39 +00:00
Ryan McKinley 31480199dd solrj upgrade to commons-httpclient-3.1.jar (API is compatible)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574434 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 02:18:18 +00:00
Ryan McKinley e3dacf01c7 SOLR-215 -- removing the core name and 'cores' registry stuff. this should be part of SOLR-350, not SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573950 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 05:59:56 +00:00
Ryan McKinley ec60f7a3ca Force the server to stop at shutdown. Hopefully this will help our tests pass regularly while running on hudson.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 19:47:01 +00:00
Ryan McKinley 5f003559b5 SOLR-215 - remove static singleton for SolrCore. This commit enables multiple solr cores, but does not yet provide an interface to manage them. This is a rather substantial change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573893 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 19:03:54 +00:00
Ryan McKinley e7e530bcd7 SOLR-326 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@565144 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 20:47:42 +00:00
Ryan McKinley 77f2a49896 SOLR-301 -- Move deprecated functions out of o.a.s.common and put it in the deprecated classes from SOLR-135. This seperates the parameter defination classes from the SolrParams classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@561900 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 18:36:45 +00:00
Ryan McKinley 8025c0a2a9 exposing the CommonsHttpSolrServer invariant params.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556770 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 23:48:02 +00:00
Chris M. Hostetter a53367d319 removing all author tags per dev list consensus
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555343 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 17:46:25 +00:00
Ryan McKinley 1e3534a431 removing XPP, jetty, and snowball license info -- they aren't included in solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553664 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 22:47:59 +00:00
Ryan McKinley 1d3418e0d3 using normal "add" command
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553575 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 17:43:19 +00:00
Ryan McKinley 3fd423d27a fixing multiple document adding error.
setting: addCmd.indexedId = null; before each add

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553574 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 17:36:38 +00:00
Ryan McKinley 1dc2aad0d8 stop the jetty server in tearDown.
This should help the test failing problem ;)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552760 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 09:24:41 +00:00
Ryan McKinley 69bd5b7f17 SOLR-280 -- changing SolrInputField to take float rather then Float. this will avoid autoboxing, if you don't want to define the boost, use one of the wrapper functions that default to 1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552521 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 15:57:03 +00:00
Ryan McKinley 1760d4242d SOLR-280 -- changing the SolrDocument/SolrInputDocument implementation so each one as as efficient as it can be. The API changes mostly affect solrj users.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 05:19:22 +00:00
Ryan McKinley 5d7981c26c SOLR-133 -- found a bug in the delete XML parsing. for id's and queries with &, it did not behave correctly. Adds a fix and test. Another sideeffect that should be noted is that this parser now accepts multiple delete commands:
<delete>
 <id>1</id>
 <id>3</id>
 <id>4</id>
</delete`>


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552385 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 02:44:45 +00:00
Ryan McKinley 0994528c21 adding a clear() function to the solrj UpdateRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552212 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 20:46:51 +00:00
Ryan McKinley 7230a8eb3f SOLR-278 - modify LukeRequest/Response to handle show=schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551971 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 17:32:55 +00:00
Ryan McKinley f475f5d76c only send one boost value for multi-valued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548237 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 07:09:26 +00:00
Ryan McKinley 2929bca894 use port 8984 for jetty testing (not 8982) to reduce the chance of getting an "Address already in use: JVM_Bin.." exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547530 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 05:16:29 +00:00
Ryan McKinley 9a9d11385c SOLR-20: Adding a java client. The client includes two implementaions: CommonsHttpSolrServer.java and EmbeddedSolrServer.java
There are major changes to build.xml -- these should be closely reviewed.

This includes a test that will start jetty and run tests against the example solr install.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547436 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 22:53:25 +00:00