You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vinci <vi...@polyu.edu.hk> on 2008/03/25 12:15:11 UTC
Document Path issue and change the layout in the example
Hi all,
I started the indexing with jetty and then I come with some question...
1. If I use the example start.jar, what should be my document system layout?
What is the essential folder?
solr_jar
|_start.jar
|_solrhome
|_etc
|_lib
|_logs
And where is the solr main library located? outside of the example?
*if I need to run change the jsp of solr admin, do I need to change the war
file content?
2. the post.jar must be placed with the document system root? Can the
document placed in folder?
i.e.
post.jar
|_doc_folder1
|_doc_folder2
3. and what is the use of bin/ in solr home folder?
--
View this message in context: http://www.nabble.com/Document-Path-issue-and-change-the-layout-in-the-example-tp16273700p16273700.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Document Path issue and change the layout in the example
Posted by Chris Hostetter <ho...@fucit.org>.
: I started the indexing with jetty and then I come with some question...
: 1. If I use the example start.jar, what should be my document system layout?
: What is the essential folder?
: solr_jar
: |_start.jar
: |_solrhome
: |_etc
: |_lib
: |_logs
i'm not sure what "solr_jar" is ... but most of those directories there
are jetty specific. "solrhome" (or just "solr" in the example as provided)
is the only thing solr specific. it can live anywhere you want as long as
your servlet container knows how to fine it.
: And where is the solr main library located? outside of the example?
it's in the solr.war.
: *if I need to run change the jsp of solr admin, do I need to change the war
: file content?
yes.
: 2. the post.jar must be placed with the document system root? Can the
: document placed in folder?
post.jar is just an example client. You don't have to use it, you can
send your data to Solr anyway you want (using any langauge you want) from
any computer you want.
: 3. and what is the use of bin/ in solr home folder?
per the README file located in the example solr home dir...
bin/
This directory is optional. It is the default location used for
keeping the replication scripts.
http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/README.txt?view=markup
-Hoss