lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin McGuigan" <colin.mcgui...@ntlworld.com>
Subject Re: IndexHTML example on Jakarta Site
Date Sat, 03 Jan 2004 17:28:30 GMT
Erik, Leo, Daniel,

just a short note to thank you for your help in the above.
I realise I have alot of work ahead of myself but am keen to continue with
Lucene as I have been impressed with what I have got working.

best regards,

Colin.
----- Original Message ----- 
From: "Erik Hatcher" <erik@ehatchersolutions.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Friday, January 02, 2004 6:44 PM
Subject: Re: IndexHTML example on Jakarta Site


> On Jan 2, 2004, at 11:49 AM, Colin McGuigan wrote:
> > 1. How do you specify which directory is to be searched
> > ( I assumed it was the current directory ie tomcat\webapps but when I
> > put in
> > more searchable content nothing comes up in the search
> > I have also tried typing java
> > org.apache.lucene.demo.IndexHTML -create -index{content}.. where
> > content is
> > the directory with the content but this still doesnt work)
>
> Quite sadly, the demo application that ships with Lucene is inadequate
> for a nice sales pitch or starter demo to lure folks in.  It is my plan
> (eventually - more later than sooner at this point, but you can
> definitely count on it from me) to enhance the demo application to be
> quite nice and easy to use.
>
> > 2. What is the easiest way to specify fields (such as title, etc) to be
> > searched?
> > (i.e. what file needs changed to allow me to search for specific
> > fields)
>
> The source code to HTMLDocument shows what fields are indexed.  To
> search on a specific field, use the syntax you see here:
> <http://jakarta.apache.org/lucene/docs/queryparsersyntax.html>
>
> > 3. Is there a very simple step by step guide for someone new on how to
> > use
> > lucene.
> > (I have looked at Jakartas site but still do not the answers to the
> > above)
>
> There are articles available on the resources page:
> <http://jakarta.apache.org/lucene/docs/resources.html>, and a new one
> of mine that isn't listed there (yet) at
> <http://today.java.net/pub/a/today/2003/11/07/QueryParserRules.html>
>
> My recommendation is for you to do your own experimenting and not try
> to tinker with the demo application.  What you need to know to use
> Lucene effectively is actually quite simple and you can glean all of
> that from the articles in a cleaner way than the demo app.
>
> Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message