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

Revision 7588, 1.8 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 DataImportHandler example configuration
17--------------------------------------------
18
19Change to the parent (example) directory. Start solr by executing the following command
20
21> cd ..
22> java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar
23
24in this directory, and when Solr is started connect to
25
26  http://localhost:8983/solr/
27
28To import data from the hsqldb database, connect to
29
30  http://localhost:8983/solr/db/dataimport?command=full-import
31
32To import data from the slashdot feed, connect to
33
34  http://localhost:8983/solr/rss/dataimport?command=full-import
35
36To import data from your imap server
37
381. Edit the example-DIH/solr/mail/conf/data-config.xml and add details about username, password, imap server
392. Connect to http://localhost:8983/solr/mail/dataimport?command=full-import
40
41To copy data from db Solr core, connect to
42
43 http://localhost:8983/solr/solr/dataimport?command=full-import
44
45See also README.txt in the solr subdirectory, and check
46http://wiki.apache.org/solr/DataImportHandler for detailed
47usage guide and tutorial.
Note: See TracBrowser for help on using the repository browser.