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 Kevin Miller <ke...@oktax.state.ok.us> on 2009/07/13 22:03:06 UTC
Implementing Solr for the first time
I am new to Solr and trying to get it set up to index files from a
directory structure on a server. I have a few questions.
1.) Is there an application that will return the search results in a
user friendly format?
2.) How do I move Solr from the example environment into a production
environment?
3.) Will Solr search through multiple folders when indexing and if so
can I specify which folders to index from?
I have looked through the tutorial, the Docs, and the FAQ and am still
having problems making sense of it.
Kevin Miller
Oklahoma Tax Commission
Web Services
Re: Implementing Solr for the first time
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jul 14, 2009, at 5:35 AM, Noble Paul നോബിള്
नोब्ळ् wrote:
> On Tue, Jul 14, 2009 at 1:33 AM, Kevin
> Miller<ke...@oktax.state.ok.us> wrote:
>> I am new to Solr and trying to get it set up to index files from a
>> directory structure on a server. I have a few questions.
>>
>> 1.) Is there an application that will return the search results in a
>> user friendly format?
> isn't the xml response format user friendly ?
LOL!
>> 3.) Will Solr search through multiple folders when indexing and if so
>> can I specify which folders to index from?
> Solr does not search any folders. you will have to index the contents
> of your folder into Solr.
Fairly straightforward to have some script that loops over a directory
and sends files (or file paths/URLs) to the extracting request handler.
Erik
Re: Implementing Solr for the first time
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
On Tue, Jul 14, 2009 at 1:33 AM, Kevin
Miller<ke...@oktax.state.ok.us> wrote:
> I am new to Solr and trying to get it set up to index files from a
> directory structure on a server. I have a few questions.
>
> 1.) Is there an application that will return the search results in a
> user friendly format?
isn't the xml response format user friendly ?
>
>
> 2.) How do I move Solr from the example environment into a production
> environment?
>
>
> 3.) Will Solr search through multiple folders when indexing and if so
> can I specify which folders to index from?
Solr does not search any folders. you will have to index the contents
of your folder into Solr.
>
>
> I have looked through the tutorial, the Docs, and the FAQ and am still
> having problems making sense of it.
>
> Kevin Miller
> Oklahoma Tax Commission
> Web Services
>
>
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com
Re: Implementing Solr for the first time
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jul 14, 2009, at 8:00 AM, Kevin Miller wrote:
> I am needing to index primarily .doc files but also need it to look at
> .pdf and .xls files. I am currently looking at the Tika project for
> this functionality.
This is now built into trunk (aka Solr 1.4): http://wiki.apache.org/solr/ExtractingRequestHandler
Erik
RE: Implementing Solr for the first time
Posted by Kevin Miller <ke...@oktax.state.ok.us>.
I am needing to index primarily .doc files but also need it to look at
.pdf and .xls files. I am currently looking at the Tika project for
this functionality.
Kevin Miller
Web Services
-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinmangar@gmail.com]
Sent: Tuesday, July 14, 2009 1:34 AM
To: solr-user@lucene.apache.org
Subject: Re: Implementing Solr for the first time
On Tue, Jul 14, 2009 at 1:33 AM, Kevin Miller <
kevin.miller@oktax.state.ok.us> wrote:
> I am new to Solr and trying to get it set up to index files from a
> directory structure on a server. I have a few questions.
>
> 1.) Is there an application that will return the search results in a
> user friendly format?
>
I'm not sure. There is a ruby application called flare but I haven't
used it myself. People usually build their own applications and use Solr
as a search server.
> 2.) How do I move Solr from the example environment into a production
> environment?
>
If you mean how do you change the example schema/config, then that
depends entirely on the kind of data you want to search.
Some good starting points on deciding the schema are:
http://wiki.apache.org/solr/SchemaDesign
http://wiki.apache.org/solr/UniqueKey
> 3.) Will Solr search through multiple folders when indexing and if so
> can I specify which folders to index from?
>
Solr does not search through folders. Solr is only a server. You can
either write a program to push data to Solr or use a plugin like
DataImportHandler to do this.
http://wiki.apache.org/solr/DataImportHandler
What are the kind of files you are indexing?
--
Regards,
Shalin Shekhar Mangar.
Re: Implementing Solr for the first time
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Tue, Jul 14, 2009 at 1:33 AM, Kevin Miller <
kevin.miller@oktax.state.ok.us> wrote:
> I am new to Solr and trying to get it set up to index files from a
> directory structure on a server. I have a few questions.
>
> 1.) Is there an application that will return the search results in a
> user friendly format?
>
I'm not sure. There is a ruby application called flare but I haven't used it
myself. People usually build their own applications and use Solr as a search
server.
> 2.) How do I move Solr from the example environment into a production
> environment?
>
If you mean how do you change the example schema/config, then that depends
entirely on the kind of data you want to search.
Some good starting points on deciding the schema are:
http://wiki.apache.org/solr/SchemaDesign
http://wiki.apache.org/solr/UniqueKey
> 3.) Will Solr search through multiple folders when indexing and if so
> can I specify which folders to index from?
>
Solr does not search through folders. Solr is only a server. You can either
write a program to push data to Solr or use a plugin like DataImportHandler
to do this.
http://wiki.apache.org/solr/DataImportHandler
What are the kind of files you are indexing?
--
Regards,
Shalin Shekhar Mangar.