Re: Implementing Solr for the first time

2009-07-14 Thread Erik Hatcher


On Jul 14, 2009, at 5:35 AM, Noble Paul നോബിള്‍  
नोब्ळ् wrote:



On Tue, Jul 14, 2009 at 1:33 AM, Kevin
Miller 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

2009-07-14 Thread Erik Hatcher


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

2009-07-14 Thread Kevin Miller
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:shalinman...@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.mil...@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

2009-07-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, Jul 14, 2009 at 1:33 AM, Kevin
Miller 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

2009-07-13 Thread Shalin Shekhar Mangar
On Tue, Jul 14, 2009 at 1:33 AM, Kevin Miller <
kevin.mil...@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.


Implementing Solr for the first time

2009-07-13 Thread Kevin Miller
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