Commit Graph

800 Commits

Author SHA1 Message Date
Ryan McKinley aa3db299e4 SOLR-350 -- removing name from log if it is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@607151 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 01:28:51 +00:00
Ryan McKinley 6ff073176e SOLR-350 -- use a default core name "[core]" rather then "[null]"
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@607113 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 19:36:36 +00:00
Ryan McKinley 83b7501406 SOLR-437 remove XPP -- not used since SOLR-133
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@607101 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 17:57:55 +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 873bf03839 SOLR-442 -- change indexDir to dataDir for FileFloatSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@606084 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 01:43:33 +00:00
Ryan McKinley e3ce5f2c7d SOLR-439 -- SolrInputDocument should preserve Field addition order
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@604951 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 18:14:38 +00:00
Ryan McKinley 2181f52f66 SOLR-350, for non-handler reqeusts, select core with 'String corename = request.getParameter("core");'
This is a temporary fix till we figure something more complex to forward to jsp files

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@603269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 15:21:35 +00:00
Erik Hatcher bd0e6827f2 SOLR-427: Allow IndexSchema to be loadable from an InputStream.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@602443 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 10:42:31 +00:00
Ryan McKinley 9b79f1af3a SOLR-350, removing old option to set core from query params (Responding to Hoss' comments on SOLR-428 let me see this)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@602342 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 07:35:13 +00:00
Ryan McKinley 072e526155 SOLR-281 -- building a SearchComponent registry with components initialized via the standard plugin utils method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@602341 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 07:27:49 +00:00
Ryan McKinley c0d2db9a89 SOLR-350 -- allow configuration of dataDir via multicore.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@602003 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 06:21:03 +00:00
Ryan McKinley 23ea243d95 SOLR-350 - change "STOP" to "UNLOAD"
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601984 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 04:37:07 +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
Erik Hatcher 1e85382c27 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601730 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 13:19:02 +00:00
Ryan McKinley b8af29f247 default HashDocSet/@maxSize to 3000 rather then throwing an error if not specified
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601581 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 00:08:21 +00:00
Chris M. Hostetter 7b49ea1ab8 directing people to wiki for non-apache hosted mailing list archives
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601573 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 23:29:45 +00:00
Yonik Seeley e706c72b55 do put+get in one operation
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601106 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:09:41 +00:00
Ryan McKinley 91d9ce1721 SOLR-414 -- convert SpellCheckerRequestHandler to a SolrCoreAware handler rather then using SolrCore.getSolrCore()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@601055 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:40:29 +00:00
Erik Hatcher 3370f73cc0 typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600983 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 15:48:48 +00:00
Ryan McKinley c25f9eaeca deprecated getSolrCore() was hiding exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600695 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 21:34:37 +00:00
Ryan McKinley 7dad8508d8 SOLR-421 -- adding SolrDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600593 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 16:41:22 +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
Yonik Seeley b627573cba The CSV loader incorrectly threw an exception when given header=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600419 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 02:05:30 +00:00
Ryan McKinley c3f80c5004 AbstractPluginLoader needs to return 'null' unless there was something registred to the same location
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600346 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 17:35:52 +00:00
Ryan McKinley 5122ececbb Set the searcherHolder to null on close. See:
http://www.nabble.com/AlreadyClosedException-in-JUnit-tests--tf4893565.html

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@599458 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 14:36:49 +00:00
Ryan McKinley 46b26e7b21 SOLR-417 -- moving SortSpec to a top level class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@599071 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 17:41:37 +00:00
Ryan McKinley e76c594d89 SOLR-414 -- Plugin initialization now supports SolrCore and ResourceLoader "Aware" plugins. Plugins that implement SolrCoreAware or ResourceLoaderAware are informed about the SolrCore/ResourceLoader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@597847 13f79535-47bb-0310-9956-ffa450edef68
2007-11-24 13:51:46 +00:00
Mike Klaas de35ba93f1 trivial: removed some @author tags, spelling, whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@596482 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 23:19:17 +00:00
Mike Klaas 5401d6ed20 Minor refactoring to SpellCheckerRequestHandler to enable somewhat-useful subclassing
(sublclasses may override Dictionary implementation)


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@596481 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 23:18:11 +00:00
Yonik Seeley 91c7b66ecf SOLR-413: cap lastDocRequested at maxDoc()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@596359 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 16:38:50 +00:00
Mike Klaas 5e9219e490 Removing some code I accidently introduced a while ago (namely, sorting docs by doc id
before retrieval for more sequential disk access)


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@595506 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 00:37:14 +00:00
Mike Klaas dd538e6312 rename HiFrequencyDictionary to HighFrequencyDictionary, and add numDocs to spellcheck
handler response so that docfreqs can be converted from counts to frequencies, should the 
client be so inclined.


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@595184 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 02:03:49 +00:00
Ryan McKinley 2b53d139be SOLR-281 -- adding a search component framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@594268 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:39:01 +00:00
Yonik Seeley 8e339464dc check and remove leading zeros when writing IntField: SOLR-394
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@594185 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 15:34:45 +00:00
Chris M. Hostetter 2d3ddfeadc ossummit rescheduled, new dates unknown - use new gif and remove explicit date refrences
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@593939 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 18:50:49 +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
Chris M. Hostetter 99dc6e24eb SOLR-396: new build system support for generating stub tokenizer/tokenfilter factories when lucene jars are updated. includes newly generated factories for all lucene-analyzers-2.2.0.jar langauges
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@593359 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 23:40:12 +00:00
Mike Klaas 12a1302ee7 javadoc tweaklet
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@593349 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 22:56:01 +00:00
Ryan McKinley d9ee7b24d3 adding a simple test to make sure parsing 'sore desc' does not barf
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@592746 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 13:39:35 +00:00
Ryan McKinley 570e22e7af SOLR-334? The new query parser does not handle 'null' when sort is "score desc"
http://www.nabble.com/Sorting-problem-tf4762114.html

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@592740 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 13:21:03 +00:00
William Au 1bcf8208ba SOLR-393 removed duplicated contentType from raw-schema.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@592428 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 14:05:45 +00:00
Mike Klaas 4b3ae817b7 SOLR-395: spell checker upgrade
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@592129 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 19:39:14 +00:00
Chris M. Hostetter e1ad6e3ef7 SOLR-367: specific return types from create in Token*Factories
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@591158 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 22:37:42 +00:00
Yonik Seeley 61a6b8db77 lucene qparser should pay attention to default operator in schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@590684 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 14:47:03 +00:00
Ryan McKinley de12906bd3 SOLR-389 -- adding better javadocs for RequestHandlerBase -- thanks Grant!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@589442 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 23:27:54 +00:00
Chris M. Hostetter 92b4f46fab fix old pre-multicore comments that refer to singletons that are no longer singletons
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@588520 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 04:46:51 +00:00
Erik Hatcher 548618f4c0 set class to abstract, making it possible to run tests by package from an IDE without this one causing a warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@588355 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 21:06:43 +00:00
Chris M. Hostetter 54de92ed53 SOLR-390: notation for future devs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@588352 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 20:54:41 +00:00
Erik Hatcher 3cb76525d1 Remove unused JSP file
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@588343 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 20:34:58 +00:00
Yonik Seeley d89039bbb9 add @Override
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@588273 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 16:24:29 +00:00
Yonik Seeley e94db661e5 comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@588258 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 15:39:56 +00:00
Yonik Seeley 2d07595bc6 SOLR-351: external file value source
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@587098 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:53:14 +00:00
Yonik Seeley fc96a325ed SOLR-334: pluggable query parsers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@587090 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:43:07 +00:00
Yonik Seeley a899f9e24b SOLR-377: make sure FastWriter buffer is flushed after writing response
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@586617 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 21:26:05 +00:00
Yonik Seeley 87e233db19 don't buffer string escaping for php response writer either: SOLR-377
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@585775 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 01:40:57 +00:00
Mike Klaas 883aab2010 honour onlyMorePopular flag SOLR-382
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@585760 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 23:55:01 +00:00
Yonik Seeley df97bd903c speed up response writers: SOLR-377
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@584574 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 18:38:54 +00:00
Ryan McKinley 1f78c1be76 SOLR-215 -- adding CHANGES.txt and moving the deprecation warning from BaseXXXFactory to IndexSchema.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@584319 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:27:12 +00:00
Ryan McKinley f1c3211c3d SOLR-215 -- make sure that BaseTokenFilterFactory/BaseTokenizerFactory call the @Deprecated init() method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@584316 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:14:07 +00:00
Mike Klaas ed5ff37639 SOLR-376: hl.alternateField
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@583979 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 22:32:48 +00:00
Mike Klaas 0ef485498a comments: it took me a few minutes to figure out why this was correct
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@583359 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 05:29:54 +00:00
Ryan McKinley e9c5d47cf3 Adding the document id to error message when you send multiple values for a single valued field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@583320 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 23:22:53 +00:00
Mike Klaas 3de84b4857 Deprecating HighlightingUtils
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@582449 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 04:22:21 +00:00
Chris M. Hostetter a415d8077c updated site to have con icons float right, and intro section named 'What is Solr'
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581501 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 05:42:32 +00:00
Erik Hatcher 8d410307d4 Add OSSummit Asia talks to Solr news
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581339 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 18:26:23 +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
Yonik Seeley 2faac488b3 getters for QueryValueSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579446 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 03:26:24 +00:00
Yonik Seeley c947254a3d fix BoostedQuery.rewrite
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579445 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 03:25:30 +00:00
Chris M. Hostetter 1ccfec05f1 javadoc warning cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@578977 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 21:20:53 +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
Yonik Seeley d78f61db76 don't factor in +-Inf,NaN in scale function
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@578456 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 15:33:42 +00:00
Ryan McKinley 4674b5f446 SOLR-215 -- fixing SolrEventListener initalization and adding test that instantiates an SolrEventListener on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@578451 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 14:48:21 +00:00
Yonik Seeley b91bd4f941 fix typo in abs.name() value source
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577879 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 19:02:05 +00:00
Yonik Seeley 11ec236ebf clarify stax comments, change logging level
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577432 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 20:15:39 +00:00
Ryan McKinley 46f8c77617 SOLR-360 -- reverting #577405,
set factory.setProperty("reuse-instance", Boolean.FALSE); 
works for 1.6.  The BEA parser works for 1.5

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577421 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 19:40:53 +00:00
Ryan McKinley 2ecd6ef1a6 SOLR-360 -- create a new XMLInputFactory for each request
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577405 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 18:03:03 +00:00
Ryan McKinley e3adf0ec78 SOLR-215 -- synchronizing getSolrCore()
see: http://www.nabble.com/synchronization-issue-in-SolrCore.getSolrCore%28%29---tf4477891.html

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577395 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 17:32:16 +00:00
Ryan McKinley c5b328d565 typo. thanks Thorsten
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@576897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 13:18:01 +00:00
Yonik Seeley efe1da6895 SOLR-349: new functions
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@576683 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 04:04:38 +00:00
Ryan McKinley e355097b60 SOLR-215 -- remove static reference to getInstanceDir()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574027 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 17:01:02 +00:00
Ryan McKinley f736f3fb08 SOLR-215 -- create a new SolrCore if one does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574025 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 16:24:51 +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 fb9d1c34bb SOLR-215 -- start webapp w/o crashing!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573947 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 04:41:11 +00:00
Ryan McKinley 2e1941b207 SOLR-215 -- removing static references to "instanceDir" -- this will let each core have its own instanceDir and ClassLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573946 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 04:34:44 +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
Yonik Seeley e595f5e7ce fix javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573774 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 02:39:42 +00:00
Yonik Seeley 1ce8c6feb3 SOLR-348: short-circuit faceting if less than mincount docs match
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573770 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 01:38:23 +00:00
Mike Klaas b9da3b2ace SOLR-310: bound pending deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@572831 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 23:05:39 +00:00
Chris M. Hostetter 3954767c5e plagerizing apachecon blurb from TLP site
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@572462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 00:33:57 +00:00
Chris M. Hostetter 7f9bfa9e7d SOLR-308: UUIDField class, can generate random UUIDs when special value of 'NEW' is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@569279 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 07:28:36 +00:00
William Au c56381bdab SOLR-333: Changed distributiondump.jsp to use Solr HOME instead of CWD to get path
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566340 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 20:55:14 +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
Yonik Seeley 29c83e3741 SOLR-196: php response writers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@564920 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 13:01:09 +00:00
Yonik Seeley bd4e7a8c03 SOLR-196: php response writers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@564829 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 03:32:02 +00:00
Yonik Seeley 1d70c0e51b SOLR-331: fix WordDelimiterFilter offsets for synonyms
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@564635 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 15:53:03 +00:00
Mike Klaas 7cb55d9904 typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@564078 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:46:02 +00:00
Mike Klaas 3064ab7a10 Make autocommit tests slightly more tolerant of system load
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@564075 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 02:12:08 +00:00
Ryan McKinley 06b56541a6 DocumentBuilder needs to skip null values. This adds a test to make sure that happens.
http://www.nabble.com/indexing-null-values--tf4238702.html

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@564010 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 20:23:36 +00:00
Chris M. Hostetter e8533194c0 whoops ... args were being passed in wrong order
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@563753 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 05:31:06 +00:00
Ryan McKinley 0d912477cc spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@562837 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 06:10:48 +00:00
Ryan McKinley fdc4ed58b4 Removing some weirdness in the SolrInputDocument interface that is not really needed for SOLR-139.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@562832 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 05:26:53 +00:00
Ryan McKinley d486144782 adding a 'close' method to DirectSolrConnection. SOLR-212
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@561922 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 19:13:26 +00:00
Ryan McKinley 950f85b39c SOLR-301 -- moving MoreLikeThisParams from o.a.s.common.util -> o.a.s.common.params
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@561904 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 18:43:02 +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 bf183356ed change UTF8 to ASCII
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@561050 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 17:20:18 +00:00
Yonik Seeley 30b52fa18a make admin submit buttons work w/o javascript: SOLR-322
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@560807 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 20:25:02 +00:00
Chris M. Hostetter 670b25d967 SOLR-258: Date Faceting added to SimpleFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@560686 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 06:28:41 +00:00
Mike Klaas 4ac947d37b clean up commit scheduler properly (SOLR-320)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@559887 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 17:12:04 +00:00
Mike Klaas 5ddcd5543c fixed getDescription for HtmlFormatter
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557874 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 05:39:15 +00:00
Mike Klaas 9c0d22fe9b SOLR-102: RegexFragmenter
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557872 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 05:34:23 +00:00
Chris M. Hostetter 773ec01848 SOLR-305: analysis.jsp can be given a fieldtype instead of a field name
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557870 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 05:28:42 +00:00
Chris M. Hostetter e90cf40c79 SOLR-311 made quoting of example curl calls work on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557739 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 19:05:26 +00:00
Otis Gospodnetic efae9eccc7 - SOLR-307: Added Factories for NGram Filters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557622 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 13:45:12 +00:00
Yonik Seeley 3c641fc63a remove severe debugging log
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557335 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 17:04:20 +00:00
William Au 1ea6384ff0 date -d and locales don't mix: SOLR-136
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556910 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 12:51:00 +00:00
William Au 82afc1a8a7 fixed logging of elapsed time on Solaris
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556902 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 12:31:03 +00:00
Ryan McKinley d044bbd589 SOLR-269 -- a chain subclass should be able to manipulate the chain
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556357 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 00:00:12 +00:00
Ryan McKinley 777e0c8160 SOLR-248 -- Added CapitalizationFilterFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556196 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 01:03:31 +00:00
Chris M. Hostetter ebaeb6443c SOLR-240: New lockType config option supports all Lucene builtin LockFactories
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556099 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 18:48:50 +00:00
Ryan McKinley b6ca445deb SOLR-269 -- adding UpdateRequestProcessor as a top level plugin managed by SolrCore. This sets up a default processing chain.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556064 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 16:48:00 +00:00
Ryan McKinley 4bd34517da adding generic <Object> to avoid some warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555873 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 04:52:22 +00:00
Ryan McKinley 0943302b91 spelling corrections
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555868 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 04:31:30 +00:00
William Au 7a7d05c27b workaround for cp not having the -l option on Solaris and OS X: SOLR-282
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555612 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 12:35:01 +00:00
Chris M. Hostetter 1fec553e28 SOLR-297 - fixed the RequiredSolrParams.getField* methods, they weren't falling back to the non field specific param names before failing with an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555345 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 17:57:51 +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 757aa1f9a0 SOLR-296 -- wrapping reader.terms() in try/catch
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554915 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 11:57:36 +00:00
Yonik Seeley 0d8a368a97 queryResultMaxDocsCached: SOLR-291
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554688 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 15:45:30 +00:00
Ryan McKinley 16ea3fb7e8 SOLR-292 - fix MoreLikeThis facet counting
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554667 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 14:56:53 +00:00
Ryan McKinley f7804a08f8 have remove( name ) return the SolrInputField rather then true/false
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 18:34:52 +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
Mike Klaas 455194dff0 added hl.maxAnalyzedChars highlighting parameter (SOLR-273)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553023 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 23:44:31 +00:00
Ryan McKinley aa2135f34f SOLR-269 -- removing incremental time logging. This now has a single log statement for all processed commands.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552986 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:25:21 +00:00
Ryan McKinley 058aa7ed27 SOLR-286 - use utf-8 encoding for getBytes()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552756 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 09:13:28 +00:00
Ryan McKinley 7e8857ff47 SOLR-260: removing the param map from init. the method signature is now: init(T plugin, Node node)
The few places that use the param map can generate it from DOMUtils

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552709 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:16:21 +00:00
Ryan McKinley aa948a9cac SOLR-260 adding more comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552701 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 08:01:21 +00:00
Ryan McKinley 2adc9df23a SOLR-283: autoCommit after delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552698 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 07:31:32 +00:00
Ryan McKinley 0985f37184 SOLR-225 - style changes and HighlightUtils.emptyArray() change
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552689 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:29:50 +00:00
Ryan McKinley a517e0f5a9 SOLR-102 - regex fragmenter using SOLR-225 plugin framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552683 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:15:17 +00:00
Ryan McKinley 1e037fcf50 SOLR-225 -- adding pluggable highlighting formatters and fragmenters
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552682 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:14:07 +00:00
Ryan McKinley 95b41b373f SOLR-260 -- adding a standard PluginLoader framework. NOTE, this commit includes parts of files from (the soon to be commited) highlight plugins SOLR-225
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552680 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 06:10:10 +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 1f799adf41 SOLR-280 -- adding wrapper functions for API compatibility. thanks Will
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552514 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 15:43:50 +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 fb559461fa SOLR-133 -- moving stax implementation to XmlUpdateRequestHandler. Remove the stax derived tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552198 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 18:52:16 +00:00
Ryan McKinley 631a4a63f1 SOLR-133 - moving XPP implementation to a Deprecated class. Next commit will move the Stax version to its place.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552196 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 18:40:26 +00:00
Ryan McKinley 579b316839 SOLR-269: Using a factory pattern to generate UpdateRequestProcessor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552195 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 18:34:47 +00:00
Yonik Seeley 63e36e5f9c remove ant dependency for setting test system properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551701 13f79535-47bb-0310-9956-ffa450edef68
2007-06-28 21:18:12 +00:00
Yonik Seeley 79b3ef65c3 SOLR-276: improve JSON writer speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551170 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 14:17:29 +00:00
Yonik Seeley 951dab2048 check for null copyField source, delay some allocations
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551060 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 05:52:02 +00:00
Chris M. Hostetter 89bf821efe more SOLR-264 work: add example to schema.xml; fix equals bug in SolrComparatorSource that Koji found; make ValueSource use IndexReader version in it's computation; refactor getSeed to use both the fieldname and the reader version
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550668 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 03:16:05 +00:00
Chris M. Hostetter 4006ae52db point query syntax help to Solr wiki instead of lucene-java site so the few extensions can be noticed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550607 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 21:00:16 +00:00
Mike Klaas e740dce042 bugfix for SOLR-274
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550576 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 19:10:14 +00:00
Ryan McKinley 4e0e8f6707 javadoc spelling cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550264 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 17:35:08 +00:00
Chris M. Hostetter 9eb7ff4bc5 SOLR-268 - Tweaks to post.jar so it prints the error message from Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550010 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 05:33:06 +00:00
Yonik Seeley 7b4db83305 fix OpenBitSet.flip bug when indicies outside current size
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549948 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 20:27:28 +00:00
Yonik Seeley aa705c5f14 implement OpenBitSet.set(from,to) and clear(from,to)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549909 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 18:00:00 +00:00
Ryan McKinley 02cadd8bb0 SOLR-266: Adding show=schema to LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549570 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 17:53:24 +00:00
Otis Gospodnetic bd5f3ae723 - Added "&&" between the 3 calls that copy, remove, and move index data to add a bit of extra robustness
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549454 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 12:10:30 +00:00
Yonik Seeley a21373772a make TextField respect sortMissingFirst,sortMissingLast
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549362 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 04:39:41 +00:00
Yonik Seeley 75c74dd595 fix logging of chars < 32
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549356 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 04:08:06 +00:00
Ryan McKinley 69095c5de0 Testing StaxUpdateRequestHandler with tests written for XmlUpdateRequestHandler
* Added three test subclasses to test updating with StaxUpdateRequestHandler rather then XmlUpdateRequestHandler
* Made the XmlUpdateRequestHandler in TestHarness public so it could be changed after initialization
* Fixed new DocumentBuilder toDocument() impl so it passes tests (copy fields were not handled properly)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548958 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 06:46:23 +00:00
Ryan McKinley be08e28414 SOLR-264 - updating the RandomSortField so it follows the Comparator contract. This uses the: field name hash, docID, and reader version as a random generator seed.
This may not be the final version, but it is better then the existing one...

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548887 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 01:38:18 +00:00
Ryan McKinley c06888092b SOLR-264: equivalent logic without branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548599 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 06:03:10 +00:00
Ryan McKinley 59ed1b5bf1 SOLR-264: Added RandomSortField a random order SortComparatorSource. Thanks yonik for the performance hints
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548594 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 05:27:47 +00:00
Ryan McKinley 1981c7ab29 adding utility function clear() to ModifiableSolrParams
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548247 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 07:39:49 +00:00
Ryan McKinley 92cb5f09ba setting setRemoveDuplicateFieldValues( null, true ) uses a Set by default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548242 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 07:34:28 +00:00
Ryan McKinley 045248e2c1 * Changed setKeepDuplicateFieldValues to setRemoveDuplicateFieldValues
* made sure the tests deal with duplicate values on one field, but not the other

http://www.nabble.com/Re%3A-svn-commit%3A-r547493---in--lucene-solr-trunk%3A-.--src-java-org-apache-solr-common--src-java-org-apache-solr-schema--src-java-org-apache-solr-update--src-test-org-apache-solr-common--p11159518.html

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548094 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 18:37:28 +00:00
Ryan McKinley 91c3b6d535 1. DocumentBuilder only sets the boost for the first value in a multi-valued field
2. XML parser sets the document boost as the product of each boost value.
3. Added XmlUpdateRequestHandlerTest (somehow lost in the final patch of SOLR-133)

http://www.nabble.com/Re%3A-svn-commit%3A-r547493---in--lucene-solr-trunk%3A-.--src-java-org-apache-solr-common--src-java-org-apache-solr-schema--src-java-org-apache-solr-update--src-test-org-apache-solr-common--p11159518.html

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548084 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 18:14:08 +00:00
Ryan McKinley 6ed8e171ad Since many fields are single valued, start the ArrayList with capacity 1 -- this should help with GC.
http://www.nabble.com/Re%3A-svn-commit%3A-r547493---in--lucene-solr-trunk%3A-.--src-java-org-apache-solr-common--src-java-org-apache-solr-schema--src-java-org-apache-solr-update--src-test-org-apache-solr-common--tf3931539.html#a11159518

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548080 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 17:50:55 +00:00
Ryan McKinley e21f3cfd6e Changing: DocumentBuilder.toDocument(SolrDocument) function so it does not unnecessarily make an extra Map and List and does not call functions for stuff it can easily do internally.
This is not intended as a final implementation; it is better then the existing one, but still needs work.

http://www.nabble.com/Re%3A-svn-commit%3A-r547493---in--lucene-solr-trunk%3A-.--src-java-org-apache-solr-common--src-java-org-apache-solr-schema--src-java-org-apache-solr-update--src-test-org-apache-solr-common--tf3931539.html



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547973 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 20:01:03 +00:00
Yonik Seeley 5f81cf33cb remove extra calls to currentTimeMillis()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547931 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 15:28:57 +00:00
Ryan McKinley 55fb7f9c96 SOLR-176 -- add average time/request to RequestHandlerBase statistics.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547818 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 22:26:02 +00:00
Ryan McKinley 40fccaea18 SOLR-135: (and SOLR-225) moving highlight test to highlight directory. SOLR-225 will apply without an empty test class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547523 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 04:36:29 +00:00
Ryan McKinley 0973e23e52 SOLR-133: Adding StaxUpdateRequestHandler.java and mapping it to:
http://localhost:8983/solr/admin/update/stax
in the example solrconfig.xml

We should test and evaluate this in comparison to the XmlUpdateRequestHandler before replacing it. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547495 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 02:33:39 +00:00
Ryan McKinley 04e7c94b99 SOLR-262 -- Added toObject( Fieldable ) to FieldType. This lets the DocumentBuilder convert lucene Document to a SolrDocument. This patch also lets the DocumentBuilder convert a SolrInputDocument to a lucene Document.
The semantics of document conversion is not totally agreed upon yet.  This is commited so we have something to work with for other patches.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547493 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 02:27:48 +00:00
Ryan McKinley ecdbcc62d5 SOLR-135 -- missed one...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547487 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 02:16:07 +00:00
Chris M. Hostetter 18d21bd455 SOLR-135: previous build.xml didn't partition core/common code properly which ment we didn't notice CommonParams and DisMaxParams were using SolrCore for logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:54:23 +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
Ryan McKinley 3503a882d9 SOLR-20: make private URL parsing function public so it is accessible to an embedded solrj client.
(this commit also includes StrUtils refactoring ommited of previous commit)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547324 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 17:26:38 +00:00
Ryan McKinley 8f8b006c1c SOLR-20: Adding a document list class in 'common'
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547314 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 17:07:06 +00:00
Ryan McKinley 5e8f1347d9 SOLR-20: moving private static final Highlight params to a common class
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547309 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:55:15 +00:00
Ryan McKinley 1143296770 SOLR-135: adding empty class for StrUtils.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547303 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:42:25 +00:00
Ryan McKinley 8cc3fa4d04 SOLR-135: Moving StrUtils.java to common.util. Adding empty class for 'UpdateParams'
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547301 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:39:59 +00:00
Ryan McKinley 9c8dcba5d9 SOLR-244, adding ModifiableSolrParams required for SOLR-20 (nice for testing)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547297 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:33:22 +00:00
Ryan McKinley e03f25801f SOLR-135: import/warning cleanup for classes in org.apache.solr.common
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547109 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 04:10:17 +00:00
Ryan McKinley 54bdcdc4cc SOLR-135: Adding @depricated extended classes for files moved to org.apache.solr.common
This should restore API compatibility.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547107 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 04:05:04 +00:00
Ryan McKinley b4d1694ef7 SOLR-135: refactoring common classes into a "common" package. This commit moves the files (and updates the imports).
THIS BREAKS API COMPATIBILITY!!!

the next commit will put stub classes in place where the missing classes are.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547101 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 03:26:18 +00:00
Ryan McKinley f461ea38a2 SOLR-193 -- adding clear() to the SolrDocuemnt API. This was used in the parallel SOLR-20 implementaion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547003 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 19:11:30 +00:00
Ryan McKinley c6c0e141bf SOLR-193: Adding SolrDocument and SolrInputDocument to represent documents outside of the lucene Document infrastructure.
This commit includes two functions not in the last (reviewed) patch:
 public Map<String,Collection<Object>> getFieldValuesMap()
 public Map<String,Object> getFieldValueMap()
If there are concerns, we can remove these functions.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546979 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 17:57:40 +00:00
Ryan McKinley 669e43d7af SOLR-259 -- add log.log(Level.SEVERE, ... when solr home isn't found. Thanks Will!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546223 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 18:58:45 +00:00
Mike Klaas 39e0ff32f2 SOLR-257: add splitOnCaseChange parameter to WordDelimiterFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545597 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 19:02:27 +00:00
Yonik Seeley 3bd973088c add link to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545020 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 01:56:57 +00:00
Yonik Seeley 8fa60a37eb fix broken apachecon link
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545012 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:53:07 +00:00
Yonik Seeley bf972bef53 1.2 news
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545011 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:49:18 +00:00
Yonik Seeley b4613cb3a7 minor feature updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545000 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:00:39 +00:00
Yonik Seeley b3fd440ba5 fix sorting urls
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544982 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 22:55:43 +00:00
Yonik Seeley 22566505e0 fix FunctionQuery.toString(): SOLR-254
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544342 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 01:40:37 +00:00
Ryan McKinley cc053495de SOLR-253 -- adding KeepWordFilter, the inverse of StopFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544328 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 23:45:00 +00:00
Ryan McKinley 4ccd436bf8 SOLR-69: Adding MoreLikeThis support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544018 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 00:27:20 +00:00
Ryan McKinley dc61cf9adc missing import. my bad
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543939 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 16:49:39 +00:00
Ryan McKinley 5aeba950b4 comment spelling errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543839 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 04:03:09 +00:00
Ryan McKinley 89f74f85b9 expanding SolrRequestParsers api to construct a SolrQueryRequest from a Collection, not just a List. (this is useful for an embedded SOLR-20 client)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543831 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 02:57:47 +00:00
Ryan McKinley 404e9ef4c1 static utility classes in SystemInfoHandler don't need to be private
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543771 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 18:31:46 +00:00
Yonik Seeley 37816d294d work around jetty compilation issue of analysis.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543659 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:32:56 +00:00
Yonik Seeley 08e2f9613f add content type when using curl in the scripts: SOLR-250
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543259 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 21:15:17 +00:00
Ryan McKinley 7e7b3f765b SOLR-249 -- oh my, missing the "throw" for SolrException!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542963 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 22:44:42 +00:00
Ryan McKinley 6b2bf1b99c SOLR-249 -- adding error codes not used in solr, but useful for custom plugins.
UNAUTHORIZED( 401 ),
  FORBIDDEN( 403 ),

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542737 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 03:13:05 +00:00
Ryan McKinley e3dd7faecf SOLR-249 -- depreating new SolrException( int ... ) in favor of new SolrException( enum ...
This also refactors all calls to new SolrException()

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542679 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 22:28:21 +00:00
Yonik Seeley d45042208b add ASF license
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542653 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 21:11:35 +00:00
Chris M. Hostetter 1e5e40cb9c SOLR-238: make tutorial explicit about the version it applies to
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542626 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:16:09 +00:00
Yonik Seeley e864ab6cd8 add usage comments, reformat
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542583 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 16:33:23 +00:00
Ryan McKinley 7403608cab Error code cleanup. Changing:
SolrException( 1, ... ) to SolrException( 500, ... ) 
 SolrException( 2, ... ) to SolrException( 400, ... )

Now, the only status codes set in SolrExceptions are valid HTTP status codes: 
 500
 400
 503
 404



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542461 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 08:52:03 +00:00
Chris M. Hostetter 5680b9436b fix warning from javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541944 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 22:29:12 +00:00
Ryan McKinley 5ea9310021 only search for fields solr knows about (otherwise you could get NPE for range query) -- also searching for non-indexed fields is useless.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541824 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 23:47:29 +00:00
Ryan McKinley e1f54f34a6 SOLR-246 -- don't compute top terms when numTerms=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541380 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 18:46:20 +00:00
Chris M. Hostetter 8d1d5939f7 SOLR-230: improvements to SOLR-230 so curl is not needed at all in tutorial
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541046 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 19:44:03 +00:00
Ryan McKinley c93dd85a74 SOLR-234 TrimFilter can update the Token's startOffset and endOffset if updateOffsets="true". By default the Token offsets are unchanged.
This also refactors many of the Filter tests to share common code.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540995 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 17:18:05 +00:00
Otis Gospodnetic 66b04d6ccc - svn propset svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540849 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 05:57:03 +00:00
Yonik Seeley 756b88e8f8 add ngram factories: SOLR-199
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540219 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 18:17:40 +00:00
Yonik Seeley 1722c8a485 update to lucene 2007-05-20
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539943 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 21:21:04 +00:00
Yonik Seeley 849e40a560 SOLR-221 compare minimum count currently needed to the term df and avoid unnecessary intersection count, allow minimum term df in order to use the filterCache, otherwise iterate over TermDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539531 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 17:34:27 +00:00
Otis Gospodnetic d272f3e473 - Typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539098 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 20:01:40 +00:00
Erik Hatcher 2ddd39225a SOLR-241: Undefined system properties used in configuration files now cause a clear message to be logged rather than an obscure exception thrown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538800 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 03:40:17 +00:00
Ryan McKinley ca0dedf563 SOLR-231 -- use UTF-8 encoding unless something else is specified.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@537024 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 22:38:10 +00:00
Ryan McKinley f4986af881 SOLR-224: Adding a PhoneticFilterFactory that uses commons codec language encoders to build phonetically similar tokens.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@537014 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 22:10:05 +00:00
Ryan McKinley e204b3d33e removed IndexInfoRequestHandler from test schema.xml -- needed to pass the tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536732 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 02:17:10 +00:00
Ryan McKinley 5e956f4fd3 SOLR-226 adding support for dynamic fields as copyField destination.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536730 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 01:52:32 +00:00
Erik Hatcher c7823d8601 Remove IndexInfoRequestHandler in favor of the Luke request handlers capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536729 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 01:48:41 +00:00
Ryan McKinley c9a8deb0d4 SOLR-227 -- rather then quietly overwrite an item in a Map<String,xxx>, this checks if an old value exists and adds a severe error if so.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536653 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 20:53:31 +00:00
Chris M. Hostetter 46428da0dc SOLR-115 - minor optimization, replace uses of BooleanQuery.getClauses() with BooleanQuery.clauses()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536282 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 18:15:48 +00:00
Chris M. Hostetter 23e5fb0e47 SOLR-217 - no error if fields are unindexed and unstored, instead let them be quietly ignored
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536278 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 18:03:32 +00:00
Ryan McKinley d6f65b926a SOLR-214 -- override getReader() explicitly. subclass called instance variables, not getContentType()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536048 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 04:23:07 +00:00
Ryan McKinley c3df2607b0 SOLR-214 - use the charset encoded in the contentType to decode the posted text. Even though they are supposed to, some containers do not obey this specification.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536019 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 23:35:55 +00:00
Ryan McKinley a461ab4cc5 SOLR-228 -- adding missing functions to SolrParams
getFieldFloat(String field, String param, float def)
 getFieldParam(String field, String param, String def)
 

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535914 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 16:03:02 +00:00
Ryan McKinley 17444901b3 related to SOLR-203 and rev:535580. Some servlet containers (including resin) use an empty string as the getServletPath() if you are on the webapp root:
http://localhost:8983/solr

others (jetty) redirect to:
 http://localhost:8983/solr/

This makes sure it is a real path before trying to match a request handler.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535897 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 15:18:32 +00:00
Ryan McKinley 0b34c977f8 SOLR-203 -- but that normalizes '/' to '' and then matches the default handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535580 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 05:30:09 +00:00
Ryan McKinley d75a031c5e fixing a request parsing bug. When posting "application/x-www-form-urlencoded" and including a charset, application/x-www-form-urlencoded; charset=utf-8, the parser would treat the body as raw content.
This includes tests to repeat the error.

It also adds easymock.jar to lib, and excludes it from distribution.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535548 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 17:14:22 +00:00
Ryan McKinley 05bf767bcc javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535431 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 01:04:08 +00:00
Ryan McKinley ac49e15773 more pre solr1.2 XmlUpdateHandler response format cleanup. In the future it would be nice if you get the same response if you do ?commit=true or <commit/>
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534669 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 00:59:09 +00:00
Ryan McKinley 9ecad14adf SOLR-212 java.util.logging.config.file must be set before getInstanceDir()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534664 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 00:23:44 +00:00
Chris M. Hostetter 184bb143df misc javadoc cleanup to eliminate warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534181 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:20:52 +00:00
Chris M. Hostetter 80c14dd19f fixing javadoc escaping issue which triggered this bug...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5082928



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534179 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:16:08 +00:00
Ryan McKinley 3d133d1f92 minor security fix. This makes sure you can't call paths that start with "/" from /select
This way, if you register a handler with "/path" and use path based authentication, you can not sneak into it using:

 http://localhost:8983/solr/select/?qt=/update&stream.body=...

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533978 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 09:02:08 +00:00
Ryan McKinley b8aea8b7f8 installed an eclipse spellchecker ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533815 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 17:57:52 +00:00
Ryan McKinley 88a33e7427 Properties are maps, so they don't need special handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533809 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 17:18:02 +00:00
Ryan McKinley 974b655b2c adding a general Properties -> NamedList function
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533596 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:50:31 +00:00
Bertrand Delacretaz 6187859a4c Forgot to change SimplePostTool's version number
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533593 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:38:49 +00:00
Bertrand Delacretaz bec6cd3f21 Fix Solr result detection to adapt to slightly modified output format (though the result detection is still a hack)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533591 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:28:51 +00:00
Erik Hatcher 01d2954d92 minor javadoc typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533579 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 03:58:02 +00:00