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 Allan Elkowitz <el...@alumni.caltech.edu> on 2015/07/07 18:43:47 UTC
Windows Version
So I am a newbie at Solr and am having trouble getting the examples working on Windows 7.
I downloaded and unzipped the distribution and have been able to get Solr up and running. I can access the admin page. However, when I try to follow the instructions for loading the examples I find that there is a file that I am supposed to have called post.jar which I cannot find in the directory specified, exampledocs. There is a file called "post" in another directory but it does not seem to be a .jar file.
Two questions:
1. Has this been addressed on some site that I am not yet aware of?2. What am I missing here? Allan Elkowitzelkowitz@alumni.caltech.edu
Re: Windows Version
Posted by Chris Hostetter <ho...@fucit.org>.
: However, when I try to follow the instructions for loading the examples
: I find that there is a file that I am supposed to have called post.jar
: which I cannot find in the directory specified, exampledocs. There is a
: file called "post" in another directory but it does not seem to be a
: .jar file.
the specifics of what you have done, what you are looking at, and what you
see are really important.
1) what exactly did you download? ie: what filename? from what URL?
2) what instructions are you looking at?
3) do you see an exampledocs directory at all? what's in it?
For example...
I just clicked on the DOWNLOAD button on the solr website, where the URL
https://lucene.apache.org/solr/mirrors-solr-latest-redir.html redirected
me to a solr mirror, and i downloaded the file solr-5.2.1.zip
After i unzipped it, i followed along with this tutorial...
https://lucene.apache.org/solr/quickstart.html
and noted a link for windows users that pointed to this doc...
https://cwiki.apache.org/confluence/display/solr/Post+Tool#PostTool-Windows
and confirmed that my solr-5.2.1/example/exampledocs/ directory contains a
post.jar file which i can use to index the same documents.
See also: https://wiki.apache.org/solr/UsingMailingLists
-Hoss
http://www.lucidworks.com/
Re: Windows Version
Posted by Allan Elkowitz <el...@alumni.caltech.edu>.
Thanks for all your help. I decided to switch to Ubuntu linux.
Allan Elkowitzelkowitz@alumni.caltech.edu
On Wednesday, July 8, 2015 1:44 AM, Shawn Heisey <ap...@elyograg.org> wrote:
On 7/7/2015 10:43 AM, Allan Elkowitz wrote:
> So I am a newbie at Solr and am having trouble getting the examples working on Windows 7.
> I downloaded and unzipped the distribution and have been able to get Solr up and running. I can access the admin page. However, when I try to follow the instructions for loading the examples I find that there is a file that I am supposed to have called post.jar which I cannot find in the directory specified, exampledocs. There is a file called "post" in another directory but it does not seem to be a .jar file.
> Two questions:
> 1. Has this been addressed on some site that I am not yet aware of?
> 2. What am I missing here?
The post.jar file is in example\exampledocs in the Solr 5.2.1 download.
The "bin\post" file is a shell script for Linux/UNIX systems that offers
easier access to the SimplePostTool class included in the solr-core jar.
Unfortunately, no Windows equivalent (post.cmd) exists yet.
If you're getting the impression that Windows is a second-class citizen
around here, you are not really wrong. A typical Solr user has found
that the free operating systems offer better performance and stability,
with the added advantage that they don't have to pay Microsoft a pile of
money in order to get useful work done.
Windows, especially the server operating systems, is a perfectly good
platform, but it's not free.
Thanks,
Shawn
Re: Windows Version
Posted by Shawn Heisey <ap...@elyograg.org>.
On 7/7/2015 10:43 AM, Allan Elkowitz wrote:
> So I am a newbie at Solr and am having trouble getting the examples working on Windows 7.
> I downloaded and unzipped the distribution and have been able to get Solr up and running. I can access the admin page. However, when I try to follow the instructions for loading the examples I find that there is a file that I am supposed to have called post.jar which I cannot find in the directory specified, exampledocs. There is a file called "post" in another directory but it does not seem to be a .jar file.
> Two questions:
> 1. Has this been addressed on some site that I am not yet aware of?
> 2. What am I missing here?
The post.jar file is in example\exampledocs in the Solr 5.2.1 download.
The "bin\post" file is a shell script for Linux/UNIX systems that offers
easier access to the SimplePostTool class included in the solr-core jar.
Unfortunately, no Windows equivalent (post.cmd) exists yet.
If you're getting the impression that Windows is a second-class citizen
around here, you are not really wrong. A typical Solr user has found
that the free operating systems offer better performance and stability,
with the added advantage that they don't have to pay Microsoft a pile of
money in order to get useful work done.
Windows, especially the server operating systems, is a perfectly good
platform, but it's not free.
Thanks,
Shawn
Re: Windows Version
Posted by Erik Hatcher <er...@gmail.com>.
Does https://cwiki.apache.org/confluence/display/solr/Post+Tool#PostTool-Windows <https://cwiki.apache.org/confluence/display/solr/Post+Tool#PostTool-Windows> solve the problem?
—
Erik Hatcher, Senior Solutions Architect
http://www.lucidworks.com <http://www.lucidworks.com/>
> On Jul 7, 2015, at 12:43 PM, Allan Elkowitz <el...@alumni.caltech.edu> wrote:
>
> So I am a newbie at Solr and am having trouble getting the examples working on Windows 7.
> I downloaded and unzipped the distribution and have been able to get Solr up and running. I can access the admin page. However, when I try to follow the instructions for loading the examples I find that there is a file that I am supposed to have called post.jar which I cannot find in the directory specified, exampledocs. There is a file called "post" in another directory but it does not seem to be a .jar file.
> Two questions:
> 1. Has this been addressed on some site that I am not yet aware of?2. What am I missing here? Allan Elkowitzelkowitz@alumni.caltech.edu