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
1e65246689
remove test properties from ant: SOLR-279
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552023 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 20:27:59 +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
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
f288752728
noted bugfix SOLR-274
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550577 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 19:14:04 +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
Erik Hatcher
b72286589d
Get back jetty.port setting capability
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@550227 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 13:47:42 +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
Yonik Seeley
054a5b4406
share the love...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@549176 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 18:15:03 +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
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
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
f0f8c0fb56
upgrading commons-io to latest stable build. The changes do not affect solr (or solrj), but some of the new features are useful for clients.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547764 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 18:44:38 +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
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
2054a10ad9
SOLR-133: changes...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547501 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 02:41:11 +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
e3dd761fb3
SOLR-135 ... sigh ... previous version compiled common code in isolation, but but had to always recompile even if there were no changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547460 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 00:12:51 +00:00
Ryan McKinley
a172ba4d77
SOLR-20: solrj needs to compile with java 1.5. It needs stax in the classpath
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547458 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 00:08:56 +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
da41728b8e
SOLR-20 changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547438 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 23:05:19 +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