Commit Graph

66 Commits

Author SHA1 Message Date
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