# lucene-java-user mailing list archives

##### Site index · List index
Message view
Top
From "Ravi Kothiyal" <ravikothi...@mail.com>
Subject RE: New User , How to have the search functioning
Date Thu, 19 Sep 2002 04:53:38 GMT
```Hi friens,
I had now created index with the org.apache.lucene.demo.IndexHTML .
the syntax i had given is "java org.apache.lucene.demo.IndexHTML -create -index d:\index %catalina_home%/webapps/textdocs"

It had created the index . I had used this index in configuration.jsp. and the Search is producing
result . But the url returned by the search in for local document in the form of d:\tomcat\tomcat-jakarta\webapps\textdocs\xyz.htm

But i want url of my documents in the form of http://mywebsite:8080/textdocs/xyz.htm

Regards
Ravi

----- Original Message -----
From: "Ravi Kothiyal" <ravikothiyal@mail.com>
Date: Wed, 18 Sep 2002 00:18:41 -0500
To: lucene-user@jakarta.apache.org
Subject: RE: New User , How to have the search functioning

> Hi Tim,
>
> Thanks for your help. I had created the index but that was empty. Later on I populated
it with IndexFiles . I added a directory to the index. the location of directory is d:/xyz
. When i searched the files using luceneweb it shows result with null as hyperlink. It return
url and summary as null .  Later I found that it stores the document path also and i can get
that document path .
>
> Can you please tell me how to store the document summary and url along with the document
in the index . It will be nice of you.
>
> Regards
> Ravi
> ----- Original Message -----
> From: "Stone, Timothy" <tstone@cityofhbg.com>
> Date: Tue, 17 Sep 2002 08:43:37 -0400
> To: Lucene Users List <lucene-user@jakarta.apache.org>
> Subject: RE: New User , How to have the search functioning
>
>
> > Ravi,
> >
> > directory, made some config changes and performed a search.
> >
> > What you don't mention is creating the index, although you elude to possibly
> > doing so since you actually pointed to an index in the configuration.jsp.
> >
> > If you can elaborate (include logs if necessary), I'll be glad to help. The
> > demo has a couple of "tripping" points, but nothing that can't be hurdled
> > quickly. Reply directly if desired.
> >
> > Hoping to help,
> > Tim
> >
> >
> > > -----Original Message-----
> > > From: Ravi Kothiyal [mailto:ravikothiyal@mail.com]
> > > Sent: Tuesday, September 17, 2002 01:13
> > > To: lucene-user@jakarta.apache.org
> > > Subject: New User , How to have the search functioning
> > > Importance: High
> > >
> > >
> > > Hi friens,
> > > I m new to Lucene . I had installed lucene1.2 on winnt 4 and
> > > using it with  jakarta-tomcat-4.1.10. I had created an index
> > > and  had configured lucene demo application luceneweb on
> > > jakarta . I had also modified configuration.jsp to add the
> > > location of index.
> > >
> > > When using lucene web i am searching the application . I am
> > > getting no result . What could be the reason of this. Is
> > > there any need to add entry in index. if yes how . Pls help
> > > me out . If any one has any saple application It would be
> > > very nice to help me with the code.
> > >
> > > Regards
> > >
> > > Ravi
> > > --
> > > __________________________________________________________
> > > Sign-up for your own FREE Personalized E-mail at Mail.com
> > > http://www.mail.com/?sr=signup
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:lucene-user-help@jakarta.apache.org>
> >
>
> --
> __________________________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
>
>
> --
> To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
>
>

--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>