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
Erik Hatcher
1da74f6678
dismax apparently does not even output a _highlighting_ section in the output unless there is a full-text query to highlight
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522415 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 04:45:00 +00:00
Erik Hatcher
f363315601
add TODO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522288 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 15:56:08 +00:00
Erik Hatcher
a9500c3a58
Add support for q.alt to Dismax query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522287 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 15:55:04 +00:00
Erik Hatcher
aaf20b2670
Move the page number out of session scope into the Context.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@521989 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 07:40:44 +00:00