source: sandbox/expresso-solr/solr/example/README.txt @ 7588

Revision 7588, 2.1 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
1# Licensed to the Apache Software Foundation (ASF) under one or more
2# contributor license agreements.  See the NOTICE file distributed with
3# this work for additional information regarding copyright ownership.
4# The ASF licenses this file to You under the Apache License, Version 2.0
5# (the "License"); you may not use this file except in compliance with
6# the License.  You may obtain a copy of the License at
7#
8#     http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16Solr example configuration
17--------------------------
18
19To run the default example configuration, use
20
21  java -jar start.jar
22
23in this example directory, and when Solr is started connect to
24
25  http://localhost:8983/solr/admin/
26
27To add documents to the index, use the post.jar (or post.sh script) in
28the exampledocs subdirectory (while Solr is running), for example:
29
30     cd exampledocs
31     java -jar post.jar *.xml
32Or:  sh post.sh *.xml
33
34See also README.txt in the solr subdirectory, and check
35http://wiki.apache.org/solr/SolrResources for a list of tutorials and
36introductory articles.
37
38NOTE: This Solr example server references certain Solr jars outside of
39this server directory for non-core modules with <lib> statements in
40solrconfig.xml.  If you make a copy of this example server and wish
41to use the ExtractingRequestHandler (SolrCell), DataImportHandler (DIH),
42UIMA, the clustering component, or other modules in "contrib",
43you will need to copy the required jars into solr/lib or update the paths to
44the jars in your solrconfig.xml.
45
46By default, start.jar starts Solr in Jetty using the default solr home
47directory of "./solr/" -- To run other example configurations, you can
48speciy the solr.solr.home system property when starting jetty...
49
50  java -Dsolr.solr.home=multicore -jar start.jar
51  java -Dsolr.solr.home=example-DIH -jar start.jar
52
Note: See TracBrowser for help on using the repository browser.