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