Commit Graph

429 Commits

Author SHA1 Message Date
Grant Ingersoll 51f1319500 SOLR-342: Added support for Lucene's new index writer options
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@634016 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 20:23:36 +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
Erik Hatcher 7f9cddcd01 SOLR-492: Add facet.offset support to standard/dismax requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@632578 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 11:17:28 +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
Erik Hatcher afd4e0e962 SOLR-473: RDoc patch contributed Chris Kline
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@627357 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 11:07:51 +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
Erik Hatcher 66b05d1da5 Add support for alternate field highlighting, based on patch by Koji Sekiguchi on SOLR-376
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@603817 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 04:34:01 +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
Erik Hatcher 8de85b8a38 A bit of delicious library specific configuration in the sample solrconfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@594528 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 13:23:58 +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
Erik Hatcher 88e0370f03 Add future example of what a solr-ruby Solr writer type could do with dates
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@582250 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 13:21:13 +00:00
Erik Hatcher 04b3349792 Fix build to bundle in proper CHANGES file
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@582238 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 12:56:30 +00:00
Erik Hatcher 4efd666e24 Enable Solr::Request::Select to work as a general pass through to any registered request handler using /select?..., and a few other minor changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581952 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 15:35:19 +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
Erik Hatcher 9eb8ab9e2b Add &show=schema to solr-ruby IndexInfo Luke request
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581251 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 14:14:49 +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
Erik Hatcher 54e45e64d8 Remove helper method that was pushed down to the plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581036 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 18:51:19 +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 95803ec77e Remove old TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580485 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 20:58:35 +00:00
Erik Hatcher b1a09b7379 Move flare helper method into plugin too
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580343 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 13:18:42 +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
Erik Hatcher aa1e9e1064 Minor formatting changes, and exposed Solr::Connection from Context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579880 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 02:59:33 +00:00
Erik Hatcher 8b242f76ee Add templates to the plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579879 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 02:58:47 +00:00
Erik Hatcher d2ba024634 Remove SIMILE link from default view - it will come back as a configuration option somehow
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579878 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 02:58:29 +00:00
Erik Hatcher fdfcbf0d30 Move layout and routes to flare plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579748 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 18:27:23 +00:00
Erik Hatcher 56ceddd6c0 Add Spellcheck support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579743 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 18:04:49 +00:00
Erik Hatcher 0658c38980 remove views now within the Flare plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579352 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 19:03:57 +00:00
Erik Hatcher d7bd3f981a Add Rails Engines, MIT licensed. And move the heart of Flare's UI into the plugin where it belongs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579351 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 19:01:11 +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
Yonik Seeley c364ddd185 make solr.py work with current server
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577338 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 15:55:56 +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
Erik Hatcher 112796dd03 Add test to check the proper parsability of CHANGES.yml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573430 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 02:47:47 +00:00
Erik Hatcher 843b9fe797 Fix YAML parsing issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573296 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 15:24:27 +00:00
Mike Klaas d38a98d85a SOLR-299: python client will be replaced, but fix a buglet in the interim
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573019 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 18:16:17 +00:00
Erik Hatcher b016188d22 Add support for _delete_ option of modifying a document. This requires patches from SOLR-139 that are not committed to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@569952 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 01:31:09 +00:00
Erik Hatcher 5bf7de1f56 Make filter_queries unrequired
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@569951 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 01:29:35 +00:00
Erik Hatcher 8f752e08bb fix mlt.fl
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 12:17:29 +00:00
Erik Hatcher 0a2aab70e9 Fix modify document implementation to support multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568654 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 15:22:06 +00:00
Erik Hatcher e801fecc99 add language values to Tang example
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568578 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 12:06:30 +00:00
Erik Hatcher 8c0599def1 Add preliminary support for SOLR-139, allowing updateable documents. Added utility method to backslash escape strings suitable for QueryParser. Bumped version number for another upcoming gem push.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568577 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 12:05:15 +00:00
Erik Hatcher d72ae657f1 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568349 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 01:07:40 +00:00
Erik Hatcher 7068f0344e Add highlighter fragment size and more like this support to Standard request
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568347 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 01:05:55 +00:00
Erik Hatcher dfa0b8a004 Preparing for an 0.0.4 rubyforge gem push
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566795 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 18:30:47 +00:00
Erik Hatcher dfc60d67b1 Rubyism tidying
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566295 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 18:33:11 +00:00
Erik Hatcher 6a3597cdb7 Add entity test, to show text goes through literally
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566294 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 18:32:22 +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
Erik Hatcher 022e1d7633 SOLR-323: Remove JAR that now ships with Solr itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@563201 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 17:32:21 +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
Erik Hatcher e651f05738 Add more sample data
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554382 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 16:28:07 +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
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
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
Erik Hatcher fbb281c584 YAMLify CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540721 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 19:46:35 +00:00
Erik Hatcher a74e62d8c3 adjust tests to work without libxml2
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540702 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 19:02:48 +00:00
Erik Hatcher 502b3248d6 Adjust HpricotMapperTest to not cause an error when the Hpricot library is not installed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540696 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:52:55 +00:00
Erik Hatcher a69eeb2674 fix such that running tests works ok without a database, sheesh
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:40:28 +00:00
Erik Hatcher f2837a8ab0 sparklines is not used in flare, remove auto-generated test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540686 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:32:06 +00:00
Erik Hatcher 1e0e887878 Adjust test for Luke request handler response
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540685 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:30:23 +00:00
Erik Hatcher 6bd5301ed5 Allow suggest field to be configured with a suggest_field option to the flare method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540684 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:29:25 +00:00
Erik Hatcher 4bddbd8363 add simile_helper to avoid warning in logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540683 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:28:09 +00:00
Erik Hatcher add862af79 Adjust delicious library view for change in asin field name
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540682 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:26:53 +00:00
Erik Hatcher b681326861 Adjust delicious library view for change in asin field name
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540681 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:26:37 +00:00
Erik Hatcher b99ad78761 Exit with message if no filename is provided
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:25:45 +00:00
Erik Hatcher 766f825fe6 Improve the save constraints feature to only show the save box when save is clicked
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540563 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 12:38:46 +00:00
Erik Hatcher ebaf102463 Convert delicious library importer to use the mapper/indexer framework.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539801 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 20:50:19 +00:00
Erik Hatcher 20c42cc6f2 provide the Solr connection to clients of the indexer
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539800 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 20:48:26 +00:00
Erik Hatcher 0d968a3ff0 bump version number
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538604 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 14:07:08 +00:00
Erik Hatcher 2e0bab1770 Adjust mappers with dependencies to conditionally load
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538603 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 14:06:53 +00:00
Erik Hatcher 4514690cf5 Make data directory controllable with system property
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538602 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 14:06:22 +00:00
Erik Hatcher 9f596e279c Fix issue where only facet.query was being requested but no fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@537760 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 09:36:05 +00:00
Erik Hatcher d7568ddbc6 bring compatibility to current trunk of Solr, using admin/luke instead of indexinfo. Also added HpricotMapper (SOLR-210: from Jamie Orchard-Hays), and correctly imported the ArrayMapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536728 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 01:28:49 +00:00
Erik Hatcher 624e65ed16 add array mapper, for more data sources that come in pieces to be merged
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535438 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 02:30:15 +00:00
Erik Hatcher eaed609277 Add buffering to allow indexer to add multiple documents at a time, determined by the :buffer_docs parameter. If not specified, individual documents are added to Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532580 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:54:53 +00:00
Erik Hatcher d42109383e Add requires of new classes for easier including
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532573 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:15:50 +00:00
Erik Hatcher 5eea178d99 Add SolrSource class, which simply iterates over all documents matching query and filter constraints to be returned. This is suitable for use with a Mapper and the Indexer to pull documents (stored fields only) from one Solr instance to another.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532572 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:15:13 +00:00
Erik Hatcher 5cd57a4a57 Add option to stringify symbols when looking them up from an original object. An alternate approach could be to have two different classes, one for objects with symbol keys, and one for string keys
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532569 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:09:50 +00:00
Erik Hatcher d1f038a1c8 Allow a Hash to be an available mapper parameter, instead of the client having to create a Mapper instance itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532567 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:08:11 +00:00
Erik Hatcher 4866d6e22f rename tab_delimited to just delimited and added splitter parameter allowing lines to be split on any regular expression
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532565 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:06:01 +00:00
Erik Hatcher bcf88974a9 getting a start on some Flare plugin unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529547 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 09:58:19 +00:00
Erik Hatcher 690dbac32c add sorting capability to Flare::Context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528431 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 10:34:14 +00:00
Erik Hatcher 46873c3ccc Update to require Rails 1.2.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528296 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:37:31 +00:00
Erik Hatcher 021f4eef00 Ignore blank queries instead of adding a bum empty one, and change redirect not be hard-coded
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528295 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:36:31 +00:00
Erik Hatcher d116528602 Revert dismax support for the time being - this will be resurrected (with test cases even) in the near future when it works properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528294 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:35:37 +00:00
Erik Hatcher a85eefd70a Add XPathMapper, useful for mapping XML file data into Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@525033 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 04:50:54 +00:00
Erik Hatcher 7ab87c4293 Only use symbols for mapping keys. Strings pass through as static field values
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@525031 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 04:49:31 +00:00
Erik Hatcher dcf9e3ea66 Dynamically load all tests for suite.rb (contribution from Josh Goebel)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524986 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 01:01:25 +00:00
Erik Hatcher 83066b443b Add better update request handler, CVS handler, etc from latest Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524983 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 00:53:42 +00:00
Erik Hatcher 8756ade7f6 Allow passing through of options to Solr::Connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524982 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 00:52:17 +00:00
Erik Hatcher 421dc4ffc8 add TODO about new xml update handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524981 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 00:50:17 +00:00
Erik Hatcher 8b7cdb9de1 Fix for clearing constraints, which also cleared saved searches. Added edit saved search action.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522963 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 15:52:53 +00:00
Erik Hatcher 9901f0a29c Fix SimileController that broke with the plugin change
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522710 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 02:00:17 +00:00
Erik Hatcher 79bb0f1421 Add document_by_id method to Flare::Context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522697 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 01:33:06 +00:00
Erik Hatcher ff396cac79 Add yield to indexer, allowing client to have final control over the Solr document indexed after the mapping has been made
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522532 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 14:52:39 +00:00
Erik Hatcher cd9862fceb Add support for dismax query
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522527 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 14:33:08 +00:00
Erik Hatcher 6016746b57 The beginnings of a general purpose importer / data mapper in order to feed data into Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522416 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 04:47:56 +00:00