Commit Graph

273 Commits

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