adding Readme file to explain what needs to be copied to solr webapp before posting, committing, or deleting documents from the solr server
This commit is contained in:
parent
305cbc46fe
commit
0addc3c957
2 changed files with 17 additions and 2 deletions
14
archive/copy-to-solr-webapp/Readme.txt
Normal file
14
archive/copy-to-solr-webapp/Readme.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
The files in this directory must be copied to your solr webapp
|
||||||
|
before you can use lucene-thdl-build.xml to post, commit, or
|
||||||
|
delete documents from your solr server.
|
||||||
|
|
||||||
|
schema.xml :
|
||||||
|
Copy this file to your solr/conf directory,
|
||||||
|
replacing the existing schema.xml file.
|
||||||
|
|
||||||
|
lucene-thdl.jar :
|
||||||
|
Create an up to date copy of this file by
|
||||||
|
running the task lucene-thdl-jar, then copy
|
||||||
|
to your solr/lib directory. If solr/lib does
|
||||||
|
not exist, then create it.
|
||||||
|
|
|
@ -158,7 +158,8 @@
|
||||||
</fieldtype>
|
</fieldtype>
|
||||||
|
|
||||||
<fieldtype name="text_wylie" class="solr.TextField">
|
<fieldtype name="text_wylie" class="solr.TextField">
|
||||||
<analyzer class="org.thdl.lucene.WylieTibetanAnalyzer"/>
|
<analyzer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<!-- <analyzer class="org.thdl.lucene.WylieTibetanAnalyzer"/> -->
|
||||||
</fieldtype>
|
</fieldtype>
|
||||||
|
|
||||||
</types>
|
</types>
|
||||||
|
@ -228,7 +229,7 @@
|
||||||
<uniqueKey>id</uniqueKey>
|
<uniqueKey>id</uniqueKey>
|
||||||
|
|
||||||
<!-- field for the QueryParser to use when an explicit fieldname is absent -->
|
<!-- field for the QueryParser to use when an explicit fieldname is absent -->
|
||||||
<defaultSearchField>text</defaultSearchField>
|
<defaultSearchField>form_bo</defaultSearchField>
|
||||||
|
|
||||||
<!-- SolrQueryParser configuration:
|
<!-- SolrQueryParser configuration:
|
||||||
defaultOperator="AND|OR"
|
defaultOperator="AND|OR"
|
||||||
|
|
Loading…
Reference in a new issue