Document Path issue and change the layout in the example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Document Path issue and change the layout in the example

Vinci
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?
Reply | Threaded
Open this post in threaded view
|

Re: Document Path issue and change the layout in the example

hossman

: 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