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 How can i achieve this . Please help me in this matter. Regards Ravi ----- Original Message ----- From: "Ravi Kothiyal" <[EMAIL PROTECTED]> Date: Wed, 18 Sep 2002 00:18:41 -0500 To: [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> > Date: Tue, 17 Sep 2002 08:43:37 -0400 > To: Lucene Users List <[EMAIL PROTECTED]> > Subject: RE: New User , How to have the search functioning > > > > Ravi, > > > > If I follow your steps correctly, you dropped the demo in your webapps > > 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:[EMAIL PROTECTED]] > > > Sent: Tuesday, September 17, 2002 01:13 > > > To: [EMAIL PROTECTED] > > > 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:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > __________________________________________________________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
