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
Ryan McKinley
2787609f91
SOLR-181 -- add "required" fields to IndexSchema.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533571 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 23:03:03 +00:00
Ryan McKinley
aa93003946
SOLR-170 -- adding a 'sort' parameter that works for both dismax and standard request handlers. The ';' is still suported (if the 'sort' parameter is not in the query). This also adds a new test class for StandardRequestHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533566 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 22:10:20 +00:00
Ryan McKinley
d273f54151
SOLR-220 -- adding a nicer error message when you sort on an undefined field.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533560 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 21:02:08 +00:00
Ryan McKinley
25a185b7da
SOLR-204: Make it possible for the request dispatcher to handle /select. This offers uniform error handling for /update and /select.
...
This change will affect anyone who has added "enableRemoteStreaming" to their solrconfig.xml since solr1.1
Where you had:
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
You now need:
<requestDispatcher handleSelect="true" >
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
</requestDispatcher>
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533558 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 20:47:23 +00:00
Ryan McKinley
53dc0b4317
removing response information prior to solr1.2 -- in the future, we should offer a more useful response format. For now, this contains the same level of information as solr1.1 <result status=0></result>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533556 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 20:28:33 +00:00
Ryan McKinley
0775861944
trivial change... remove comment that is not accurate since SOLR-182
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533553 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 20:11:33 +00:00
Ryan McKinley
82dffa7446
SOLR-212 - Adding DirectSolrConnection.java this give you a text interfave to solr without HTTP
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533538 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 18:09:30 +00:00
Ryan McKinley
398ef586b8
deprecating unused functions with a better alternative. see SOLR-183
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533536 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 17:46:52 +00:00
Ryan McKinley
b3cd55c803
changing query parsing error message to include the error. SEE SOLR-204
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533529 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 17:00:29 +00:00
Erik Hatcher
9ef1c06783
Spell checking index needs to be cleared when rebuilt, otherwise older non-existent terms are suggested
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533515 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 15:28:18 +00:00
Yonik Seeley
246ad4dd57
make writeLockTimeout work: SOLR-222
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533507 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 14:05:21 +00:00
Ryan McKinley
0455f820c4
removing the not quite perfect logic for 'cacheableFaceting' (we should revist this after some upcoming faceting improvements). Adding a 'histogram' to each field - thanks to Yonik for the suggestion. Moved the 'key' to the bottom of the request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533467 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 06:08:47 +00:00
Ryan McKinley
fa6d8ba5dc
changing test to expect error code 400 rather then 1 for unknown sort field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533466 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 06:05:25 +00:00
Ryan McKinley
0d62dbd149
throw a standard response code when you can't find a field: SOLR-220
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533449 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 00:23:37 +00:00
Ryan McKinley
01ed55a933
moving UpdateParams.java to o.a.s.util (new class since 1.1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533411 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 18:49:20 +00:00
Ryan McKinley
b0137594bb
changing docID to docId
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533304 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 06:05:57 +00:00
Ryan McKinley
44c3d4b48f
Initialized typo -- thanks otis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533207 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 20:11:02 +00:00
Otis Gospodnetic
1b4417fb90
- Javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533184 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 18:25:11 +00:00
Yonik Seeley
ddc153ac37
remove obsolete sort comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533177 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 17:50:15 +00:00
Otis Gospodnetic
5573feaa62
- Fixed typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533176 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 17:43:34 +00:00
Ryan McKinley
e4284d09bb
SOLR-203 path normalization. If you register a path '/path' it shoudl work for '/path' and '/path/'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532987 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 06:32:33 +00:00
Ryan McKinley
302ac7b48b
adding svn:keywords
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532982 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 06:21:44 +00:00
Ryan McKinley
593e218d6d
Adding 'Luke' request handler and other admin helpers: SOLR-163
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532975 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 05:56:07 +00:00
Ryan McKinley
615e30f16e
SOLR-179 -- Initalization collects any errors and displays them rather then continuing. this feature is configurable in solrconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532912 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 23:37:44 +00:00
Ryan McKinley
1efad83104
removed deprecated additions since Solr 1.1 -- ContentStream.java (moved to util a while ago) and CommitRequestHandler.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532883 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 22:06:03 +00:00
Ryan McKinley
11a8345aa5
Changing feature list to say 'Faceted Browsing' rather then 'Result Grouping'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532880 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 21:57:03 +00:00
Ryan McKinley
1b817c008d
Adding a regex pattern TokenizerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532508 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 22:23:40 +00:00
Ryan McKinley
c899349310
Removed the unused import: com.sun.org.apache.xerces.internal.util.URI.MalformedURIException;
...
This avoids the compile warning for java 1.6:
warning: com.sun.org.apache.xerces.internal.util.URI is Sun proprietary API and may be removed in a future release
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532458 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:48:19 +00:00
Ryan McKinley
b38421cfdf
adding Ryan as a Solr Committer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532456 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:44:01 +00:00
Yonik Seeley
db21821167
avoid recursive find, test for maxdepth support, filter snapshot names on master: SOLR-207
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529471 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 02:25:28 +00:00
Mike Klaas
0cf8721a40
AutoCommit tracker again prints to the logfile its parameters. There parameters are also
...
available in the DUH2 admin ui statistics
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529452 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 00:20:59 +00:00
Bertrand Delacretaz
18f1bda15d
finalize() was not correctly overridden, typo in function name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529367 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 19:20:23 +00:00
Erik Hatcher
2970a6c196
typo corrections in comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529098 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 00:08:59 +00:00
Yonik Seeley
834c7c60d3
allow fieldType as well as fieldtype in schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@527594 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 18:16:01 +00:00
Erik Hatcher
65e0b152db
SOLR-184: add echoHandler=true to responseHeader, support echoParams=all (contributed by Ryan McKinley)
...
Additionally I added some unit tests to prove the new features added.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@526634 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 02:29:24 +00:00
Erik Hatcher
6e21109499
Spelling correction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@526626 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 00:54:49 +00:00
Yonik Seeley
665e7d7834
factor out commit param parsing: SOLR-185
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524612 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 15:14:26 +00:00
Yonik Seeley
32d95f5c89
factor out commit param parsing: SOLR-185
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524611 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 15:13:25 +00:00
Yonik Seeley
55ee8f2305
fix queryString parsing to handle UTF8 (percent encoded): SOLR-202
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524524 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 03:43:42 +00:00
Yonik Seeley
6b58a8536b
CSV: default commit to false, add tests for skip, skipLines
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524452 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 17:07:26 +00:00
Yonik Seeley
f519838b7f
parse skip for CSV
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524299 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 22:30:17 +00:00
Yonik Seeley
731416af36
CSV updates: SOLR-66
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524175 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 16:59:58 +00:00
Yonik Seeley
18dc9d98e4
stream.contentType, stream.file: SOLR-197
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@523774 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 17:28:31 +00:00
Yonik Seeley
8e21217939
RunExecutableListener didn't wait if configured: SOLR-198
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@523757 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 16:09:25 +00:00
Mike Klaas
205ede4369
added link from dismax 'mm' parameter to format document
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@523185 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 05:46:42 +00:00
Erik Hatcher
798dc16c7b
Correct typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522889 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 12:43:59 +00:00
Chris M. Hostetter
4e34a79136
whitespace reformatting to 2-space convention
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522629 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 21:14:00 +00:00
Chris M. Hostetter
d50b65bc82
SOLR-81: more spellchecker enhancements, cleaned up schema/solrconfig, added support for relative paths as well as RAM based spellchecker directories, fixed NPE when using cmd=rebuild, added cmd=reopen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522628 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 21:11:13 +00:00
Yonik Seeley
876dd28846
lazy loading request handlers: SOLR-182
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522584 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 18:21:26 +00:00
Yonik Seeley
a3376478fd
400 errors for numeric parsing exceptions, RequiredSolrParams: SOLR-183
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522106 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 21:10:19 +00:00
Otis Gospodnetic
dd7864ac11
- Moved from o.a.s.request to o.a.s.handler package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@521129 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 06:09:00 +00:00
Bertrand Delacretaz
21a4500699
SOLR-194: use fixed UTF-8 encoding to read the files to POST
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520817 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 09:29:22 +00:00
Otis Gospodnetic
cbec0d38d4
- Removed erroneous SolrCore reference and svn propset svn:keywords "URL Revision Id"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520710 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 02:21:12 +00:00
Mike Klaas
55106b5b38
Reverted change r520088 to ConvertedLegacyTest.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520202 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 01:18:09 +00:00
Mike Klaas
cf7c86a95a
commit SOLR-172
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520088 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 20:25:19 +00:00
Otis Gospodnetic
eec37f555b
- Fixed termSourceField assignment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@519173 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 22:55:54 +00:00
Otis Gospodnetic
025282f338
- SOLR-81: the correct SpellCheckerRequestHandler.java this time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@519140 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 20:48:43 +00:00
Otis Gospodnetic
f1c149f8fb
- SOLR-81: SpellCheckerRequentHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@519107 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 19:28:47 +00:00
William Au
a1b021eb60
SOLR 188
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@518637 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 14:22:24 +00:00
Mike Klaas
25227a299d
enables multi-param for several dismax params (SOLR-174)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@514851 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 20:22:10 +00:00
Yonik Seeley
cfb9f5f2f2
add Iterable and Iterator support to response writers: SOLR-177
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@514254 13f79535-47bb-0310-9956-ffa450edef68
2007-03-03 22:21:27 +00:00
Otis Gospodnetic
f3bd9ebc57
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513870 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 17:58:48 +00:00
Otis Gospodnetic
e356ea4ce6
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513869 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 17:55:40 +00:00
Yonik Seeley
6fdf11d7aa
fix synonymfilter offsets: SOLR-167
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513517 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 21:36:36 +00:00
Yonik Seeley
52d00cda6a
fix display of multiple tokens at same position: SOLR-168
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513152 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 05:46:34 +00:00
Chris M. Hostetter
919a3881d0
SOLR-173 - fix for 'too many open files' - close requests at end of SolrDispatchFilter, and only get Searcher in response writers if it's actually needed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511970 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 19:42:21 +00:00
Chris M. Hostetter
81fef0c161
reverting some of Erik's recent changes to the SolrQueryParser constructor and implementing the intent in a new IndexSchema.getSolrQueryParser method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510689 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:18:02 +00:00
Mike Klaas
72ee2ce324
finished removing old HL params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510436 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 07:58:44 +00:00
Mike Klaas
2ca3943e78
- moved highlighting-specific classes to Highlighting Utils.java
...
- brace consistency in HU.java
- removed unused final static in SolrPArams (should highlighting param defs be moved here?)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510338 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:38:47 +00:00
Erik Hatcher
3b968a0bc9
QueryParsing.parseQuery(String,IndexSchema) and QueryParsing.parseQuery(String,String,IndexSchema) now
...
respects the schema.xml <solrQueryParser defaultOperator="..."/> setting. Before, only
QueryParsing.parseQuery(String,String,SolrParams,IndexSchema) respected the schema setting.
SolrQueryParser itself now sets the default operator based on the schema setting, and is overridden
with the q.op param when the latter QueryParsing.parseQuery() method is used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510334 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:00:23 +00:00
Chris M. Hostetter
95158fda84
indenting cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510328 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 00:41:57 +00:00
Chris M. Hostetter
0aa2a95ee7
SOLR-158: new qs (Query Slop) param for DisMaxRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510325 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 00:37:51 +00:00
Chris M. Hostetter
a76bf773c6
SOLR-152 - support for q.alt in dismax handler so requests without query strings can return results based on whatever alternate query is configured
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510322 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 00:22:10 +00:00
Otis Gospodnetic
85e27f07de
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510056 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 15:30:22 +00:00
Bertrand Delacretaz
5ea4bd68b6
SOLR-164, use the SOLR-86 client in examples of the Solr tutorial
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509455 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 08:22:27 +00:00
Bertrand Delacretaz
beb009b8d8
add README mentioning http://wiki.apache.org/solr/Website_Update_HOWTO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509454 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 08:21:37 +00:00
Chris M. Hostetter
cacf143d65
SOLR-166 - JNDI solr.home code refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509406 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 01:38:26 +00:00
Chris M. Hostetter
5ddfe531ed
small bug fix from Ryan over email...
...
: If you commit a document while the updater is autocommiting, it is
: likely to immediatly start another autocommit (unless you are also
: using maxDocs).
:
: Here is the one line patch to fix it:
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509349 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 21:54:58 +00:00
Bertrand Delacretaz
4d3d23a806
Explicit version number added ($Id didn't work in a constant?)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509119 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 07:58:10 +00:00
Erik Hatcher
4ac02f06f8
SOLR-86: SimplePostTool, contributed by Bertrand Delecretaz
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509009 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 21:30:03 +00:00
Yonik Seeley
28d75b04bc
make solr more easily embeddable: SOLR-149
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508859 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 03:33:13 +00:00
Yonik Seeley
3e80baf529
try to distinguish between quote as a string delimiter or something else: SOLR-140
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508805 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 20:42:45 +00:00
Erik Hatcher
72ef071e96
Correct javadocs with the exception behavior
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508487 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:47:30 +00:00