FAO Otis Gospodnetic

2004-09-16 Thread Ian McDonnell
Was there any more articles liek this written. I found them extremely useful for 
getting an in depth understanding of how Lucenes indexing system worked. Is there a 
corresponding set for Lucenes search functionality. 

The recommendations from other Lucene users were useful, but didn't go to the same 
detail as these 2 articles(which is what i'm looking for!)

Does anybody know of any other docs that go into detail on the functionality of 
Lucenes search?

Thx for the advice peeps.

ian :)
--- Daniel Mnard [EMAIL PROTECTED] wrote:
I also found these two articles

http://www.onjava.com/pub/a/onjava/2003/01/15/lucene.html
http://www.onjava.com/pub/a/onjava/2003/03/05/lucene.html

from  Otis Gospodnetic very usefull for me.

DM
- Original Message - 
From: Ian McDonnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 6:52 PM
Subject: Lucene docs


 What is the best resource for beginners looking to understand Lucenes
functionality, ie its use of fields, documents, the index reader and writer
etc.

 is there any web resource that goes into details on the exact workings of
it?

 Ian

 _
 Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at
http://www.spinnerscity.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Lucene docs

2004-09-15 Thread Ian McDonnell
What is the best resource for beginners looking to understand Lucenes functionality, 
ie its use of fields, documents, the index reader and writer etc.

is there any web resource that goes into details on the exact workings of it?

Ian

_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Viewing the contents of the index on Tomcat

2004-08-06 Thread Ian McDonnell
How is this done?

I want to verify that the indexer has added documents submitted from my JSPs.

ian

_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Viewing the contents of the index on Tomcat

2004-08-06 Thread Ian McDonnell
And how do you run luke once its been added to the classpath on Tomcat? I cant seem to 
find any docs on the luke site.

Ian


--- Julien Nioche [EMAIL PROTECTED] wrote:
see http://jakarta.apache.org/lucene/docs/contributions.html
LUKE is a stand alone application for viewing and querying an index
LIMO is a web application for monitoring the content of an index

- Original Message - 
From: Ian McDonnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 06, 2004 4:10 PM
Subject: Viewing the contents of the index on Tomcat


 How is this done?

 I want to verify that the indexer has added documents submitted from my
JSPs.

 ian

 _
 Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at
http://www.spinnerscity.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Setting up the index directory on tomcat

2004-07-29 Thread Ian McDonnell
Is this done simply by saying:

String indexDirectory = /path of directory you want index to be stored in

Ian

_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Extracting Lucene onto Tomcat

2004-07-21 Thread Ian McDonnell
Is the package information and import paths ready to deploy on Tomcat server. I tried 
extracting lucene on the server, but when i compile files, it just throws numerous no 
class definition errors and errors relating to the package.

Ian

_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Extracting Lucene onto Tomcat

2004-07-21 Thread Ian McDonnell
Well when i extracted it, it created the org/apache/lucene directories in the 
public_html directory. When i try to compile any of the source it just throws numerous 
errors. I've got the classpath set to web-inf/classes.

Have i extraced it to the wrong directory?


--- Erik Hatcher [EMAIL PROTECTED] wrote:
On Jul 21, 2004, at 8:10 AM, Ian McDonnell wrote:
 Is the package information and import paths ready to deploy on Tomcat 
 server. I tried extracting lucene on the server, but when i compile 
 files, it just throws numerous no class definition errors and errors 
 relating to the package.

Huh?  Lucene certainly deploys just fine in Tomcat web applications (in 
a WAR under WEB-INF/lib).  Could you elaborate on what you mean here?

Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Extracting Lucene onto Tomcat

2004-07-21 Thread Ian McDonnell
Also another silly question, do i need to setup a war on the server?


--- Ian McDonnell [EMAIL PROTECTED] wrote:
Well when i extracted it, it created the org/apache/lucene directories in the 
public_html directory. When i try to compile any of the source it just throws numerous 
errors. I've got the classpath set to web-inf/classes.

Have i extraced it to the wrong directory?


--- Erik Hatcher [EMAIL PROTECTED] wrote:
On Jul 21, 2004, at 8:10 AM, Ian McDonnell wrote:
 Is the package information and import paths ready to deploy on Tomcat 
 server. I tried extracting lucene on the server, but when i compile 
 files, it just throws numerous no class definition errors and errors 
 relating to the package.

Huh?  Lucene certainly deploys just fine in Tomcat web applications (in 
a WAR under WEB-INF/lib).  Could you elaborate on what you mean here?

Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Extracting Lucene onto Tomcat

2004-07-21 Thread Ian McDonnell
I was looking at your instructions there, but couldnt really figure out what you mean. 
Can i manually add the extracted directories onto the tomcat server, if so what should 
my root directory be?

Say for example the extracted directories org/apache/lucene/

Should i have that as public_html/WEB-INF/org/apache/lucene?

Ian


--- Zilverline info [EMAIL PROTECTED] wrote:
Hi Ian,

Depending on what you want to do, you could also follow the installation 
instructions on http://www.zilverline.org. It describes how to install 
zilverline, but the same goes for the lucene war.

Hope this helps,

   Michael Franken

Ian McDonnell wrote:

Also another silly question, do i need to setup a war on the server?


--- Ian McDonnell [EMAIL PROTECTED] wrote:
Well when i extracted it, it created the org/apache/lucene directories in the 
public_html directory. When i try to compile any of the source it just throws 
numerous errors. I've got the classpath set to web-inf/classes.

Have i extraced it to the wrong directory?


--- Erik Hatcher [EMAIL PROTECTED] wrote:
On Jul 21, 2004, at 8:10 AM, Ian McDonnell wrote:
  

Is the package information and import paths ready to deploy on Tomcat 
server. I tried extracting lucene on the server, but when i compile 
files, it just throws numerous no class definition errors and errors 
relating to the package.



Huh?  Lucene certainly deploys just fine in Tomcat web applications (in 
a WAR under WEB-INF/lib).  Could you elaborate on what you mean here?

   Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Extracting Lucene onto Tomcat

2004-07-21 Thread Ian McDonnell
No sorry i didnt mean that i was trying to extract the jars at all. 

I meant the extraction of the original lucene source bundle. I have been developing in 
java for going on 5 years now, but am relatively new to Web Apps. I have some 
experience in TomCat from days as an undergrad and do understand that perhaps the 
questions i'm asking wernt exactly tech questions relating to Lucene, but rather 
Tomcat related enquiries. I think the reason i was struggling was that i havn't been 
able to locate the lucene war files as they dont seem to have come as part of the 
latest source drops.

Thx for the advice and hopefully you can help me out when i'm further into the 
development process.

Ian


--- Erik Hatcher [EMAIL PROTECTED] wrote:
There is no need to extract Lucene's JAR file.

Your questions indicate that you have some Tomcat and Java web 
application learning to do and this forum is not the most appropriate 
place to ask.  Lucene includes a web application demo that you could 
try deploying by following the steps here:  
http://jakarta.apache.org/lucene/docs/demo3.html

Just drop luceneweb.jar into CATALINA_HOME/webapps, restart Tomcat and 
try hitting http://localhost:8080/luceneweb and pressing the search 
button - you will get an error unless you've followed all the steps, 
but you should not get a class cast exception and Lucene will be 
working properly (now follow the steps to build an index and configure 
the pointer to it).

Erik

On Jul 21, 2004, at 9:43 AM, Ian McDonnell wrote:

 Well when i extracted it, it created the org/apache/lucene directories 
 in the public_html directory. When i try to compile any of the source 
 it just throws numerous errors. I've got the classpath set to 
 web-inf/classes.

 Have i extraced it to the wrong directory?


 --- Erik Hatcher [EMAIL PROTECTED] wrote:
 On Jul 21, 2004, at 8:10 AM, Ian McDonnell wrote:
 Is the package information and import paths ready to deploy on Tomcat
 server. I tried extracting lucene on the server, but when i compile
 files, it just throws numerous no class definition errors and errors
 relating to the package.

 Huh?  Lucene certainly deploys just fine in Tomcat web applications (in
 a WAR under WEB-INF/lib).  Could you elaborate on what you mean here?

   Erik


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 _
 Sign up for FREE email from SpinnersCity Online Dance Magazine  
 Vortal at http://www.spinnerscity.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



The indexer

2004-07-20 Thread Ian McDonnell
Can Lucenes indexer be used to store info in fields in a mysql db?

If so can anybody point me to an example or some documentation relating to it.

Ian

_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The indexer

2004-07-20 Thread Ian McDonnell
Basically i add details about a movie clip as various fields in an sql db using a jsp 
form. When the form submits i want to add the details into the db and also want the 
fields to be stored as a searchable lucene index on the server.

Is this possible?

Ian


--- Erik Hatcher [EMAIL PROTECTED] wrote:
On Jul 20, 2004, at 8:44 AM, Ian McDonnell wrote:
 Can Lucenes indexer be used to store info in fields in a mysql db?

I'm not quite clear on your question.  You want to store a Lucene index 
(aka Directory) within mysql?

Or, you want to index data from your existing mysql database into a 
Lucene index?

A Directory implementation for Berkeley DB was created by the Chandler 
project and contributed to the Lucene sandbox (see Lucene's website for 
details on the sandbox and how to get to it).  There has been some 
efforts to put a Lucene index into SQL Server, I believe, but I haven't 
seen mention of that in a while.  It *can* be done, but I'm skeptical 
of the performance hit of adding in a relational database layer - and 
to do it well would certainly be non-trivial.

As for indexing data from mysql - there have been lots of discussions 
of that recently, so check the archives.  Basically you read the data, 
and index it with Lucene's API.  And you are responsible for keeping it 
in sync.

Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The indexer

2004-07-20 Thread Ian McDonnell
Yeah that last part of your reply seems to be what i'm trying to do(you're going to 
have to excuse me as i'm a total newbie to Lucene and am only finding my feet with 
it). I searched the archives and went back through it manually just there, but didnt 
find any relevant posts in the archive.

As for indexing data from mysql - there have been lots of discussions 
of that recently, so check the archives.  Basically you read the data, 
and index it with Lucene's API.  And you are responsible for keeping it in sync.

The problem i am having is reading the data from the sql tables and then using the 
indexer to store it. Has anybody indexed from a mysql table before? If so, do i need 
to create some kind of JDBC query that selects all the field values from the table and 
indexes them in a lucene document that is stored on the server? If i do this, how can 
this process be automated rather than manually running the program everytime a new 
profile is added via the jsp form? 

Erik, i'm not sure what you mean about keeping the db in sync. Are you talking about 
stale or updated db entries?

Ian

Ian

Erik


--- Erik Hatcher [EMAIL PROTECTED] wrote:
On Jul 20, 2004, at 8:44 AM, Ian McDonnell wrote:
 Can Lucenes indexer be used to store info in fields in a mysql db?

I'm not quite clear on your question.  You want to store a Lucene index 
(aka Directory) within mysql?

Or, you want to index data from your existing mysql database into a 
Lucene index?

A Directory implementation for Berkeley DB was created by the Chandler 
project and contributed to the Lucene sandbox (see Lucene's website for 
details on the sandbox and how to get to it).  There has been some 
efforts to put a Lucene index into SQL Server, I believe, but I haven't 
seen mention of that in a while.  It *can* be done, but I'm skeptical 
of the performance hit of adding in a relational database layer - and 
to do it well would certainly be non-trivial.

As for indexing data from mysql - there have been lots of discussions 
of that recently, so check the archives.  Basically you read the data, 
and index it with Lucene's API.  And you are responsible for keeping it 
in sync.

Erik


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sign up for FREE email from SpinnersCity Online Dance Magazine  Vortal at 
http://www.spinnerscity.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]