On 12/10/2012 3:08 PM, Alexandre Rafalovitch wrote:
In README.txt, it says:
dist/apache-solr-XX.jar
The Apache Solr Libraries. This JAR file is needed to compile
Apache Solr Plugins (see http://wiki.apache.org/solr/SolrPlugins for
more information).
But I cannot see that in my 4.0 distribution. Has that changed (and doc
needs to be updated) or am I missing something?
If you have the "dist" directory at all, then you probably have the
binary distribution, which is what you'll need. If your downloaded file
contains -src or the unpacked file does not contain a dist directory,
then you likely have the source distribution. With the source
distribution, you would have to compile the "dist" target. Better to
just get the binary distribution.
Looking at the dist directory on what I just downloaded, it appears that
most of the functionality required for writing code related to Solr
would actually be in apache-solr-core-4.0.0.jar, and depending on what
you are doing, you may need one or more of the other jars there. It
looks like whatever documentation you are reading is definitely out of date.
Thanks,
Shawn