Re: Is Like Search Possible ?

2002-10-06 Thread Ravi Kothiyal

Dear Suneetha,
As far as I know the lucene is not case sensitive.

Are you storing the Domain also as a field in the index . If yes than you can refine 
your query as toAddress:abc* AND Domain:xyz.com

Otherwise you can refine it using fuzzy search.
toAddress:abc* AND toAddress:@xyz.com~

Hope this will help You

Regards

Ravi


- Original Message -
From: Suneetha Rao [EMAIL PROTECTED]
Date: Sat, 05 Oct 2002 13:01:48 +0530
To: Lucene Users List [EMAIL PROTECTED]
Subject: Re: Is Like Search Possible ?


 Dear Ravi,
 Thanks for ur help but my problem is not solved  yet. I have indexed 
the field ToAddress.
 I'm able to get results if I search for  (toAddress:abc*)  it gives me all mailids 
starting with abc
 but I want it to search for in the domain how do I do it ??
 Also I've found it does not return any results when I query for 
(toAddress:Abc).
 If Lucene is not case sensitive  why doesen't  it give me results.
 
 Regards,
 Suneetha
 
 Ravi Kothiyal wrote:
 
  Dear Suneetha,
  visit http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
  for the syntax about query. But this is for basic html search. But I think if you 
want to search through email's ToAddress field, You have a create an index which 
stores the toAddress than only you can retereve the search for toAddress.
 
  Hope this will help you
 
  Regards
  Ravi
 
  - Original Message -
  From: Suneetha Rao [EMAIL PROTECTED]
  Date: Sat, 05 Oct 2002 10:16:02 +0530
  To: Lucene Users List [EMAIL PROTECTED]
  Subject: Is Like Search Possible ?
 
   Hi,
   I've used lucene and indexed the whole database where I savd the
   mail headers
   and some files where I saved the mail contents.I would like to to a
   search on email
   ids.I'm using a Boolean Query to retirive results and is using the
   StandardAnalyzer.
   How do I translate the SQL Statement
   SELECT * FROM tableName where TOADDRESS LIKE '%infy%' ;
   I  tried   the query  +(toAddress:infy*) but it does  does not retrieve
   any results.
   I basically want to retrieve all records that have the toAddress
   like [EMAIL PROTECTED] there something wrong with the way Iquery?
   How should I get to desired results.
  Thanks in Advance
  
   Regards,
   Suneetha
  
  
   --
   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
 
  Free price comparison tool gives you the best prices and cash back!
  http://www.bestbuyfinder.com/download.htm
 
  --
  To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
 --
 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

Free price comparison tool gives you the best prices and cash back!
http://www.bestbuyfinder.com/download.htm


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




Problem With org.apache.lucene.demo.IndexHTML class on Sun Solaris

2002-10-05 Thread Ravi Kothiyal

Dear Friends ,

I am using lucene-1.2 . When I am trying to create a html index from java 
org.apache.lucene.demo.IndexHTML -create -index /opt/index /webdev

It start creating index but after some time it gives Memory outof range exception and 
quit the command . Can you please help me in this matter.

Best Regards

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

Free price comparison tool gives you the best prices and cash back!
http://www.bestbuyfinder.com/download.htm


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




Re: Is Like Search Possible ?

2002-10-05 Thread Ravi Kothiyal


Dear Suneetha,
visit http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
for the syntax about query. But this is for basic html search. But I think if you want 
to search through email's ToAddress field, You have a create an index which stores the 
toAddress than only you can retereve the search for toAddress.

Hope this will help you

Regards
Ravi


- Original Message -
From: Suneetha Rao [EMAIL PROTECTED]
Date: Sat, 05 Oct 2002 10:16:02 +0530
To: Lucene Users List [EMAIL PROTECTED]
Subject: Is Like Search Possible ? 


 Hi,
 I've used lucene and indexed the whole database where I savd the
 mail headers
 and some files where I saved the mail contents.I would like to to a
 search on email
 ids.I'm using a Boolean Query to retirive results and is using the
 StandardAnalyzer.
 How do I translate the SQL Statement
 SELECT * FROM tableName where TOADDRESS LIKE '%infy%' ;
 I  tried   the query  +(toAddress:infy*) but it does  does not retrieve
 any results.
 I basically want to retrieve all records that have the toAddress
 like [EMAIL PROTECTED] there something wrong with the way Iquery?
 How should I get to desired results.
Thanks in Advance
 
 Regards,
 Suneetha
 
 
 --
 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

Free price comparison tool gives you the best prices and cash back!
http://www.bestbuyfinder.com/download.htm


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




Re: Xtreeme Newbie, trying to get demos to work

2002-10-05 Thread Ravi Kothiyal

hi,
Yes You need Java Server/JSP engine to run webapplication demo .
If are using any jsp/servlet engine . Configure the luceneweb.war application with the 
demo in the jsp engine.

Then create the index file for serach.
For that you have to add lucene-2.1.jar and lucene-demos-2.1.jar in your classpath.

the Index can be created by
java org.apache.lucene.demo.IndexHTML -create -index pathtostoreindex 
pathofyourdocumentstobeindexed 

modify the path of index in the configuration.jsp in the luceneweb.jar 

This will make your search engine work

For more help visit
http://jakarta.apache.org/lucene/docs/gettingstarted.html

Hope this will help you
Reagrds
Ravi 



- Original Message -
From: ARJANG ASSADI [EMAIL PROTECTED]
Date: Tue, 24 Sep 2002 06:46:15 +
To: [EMAIL PROTECTED]
Subject: Xtreeme Newbie, trying to get demos to work


 I am trying to run the Demo.
 I couldnt find any docs on running the demo, does Lucene require Tomcat 
 and/or other Java WebServer technology?
 
 I am new to java but not programming or computers, just dont know what the 
 firsts steps are to getting Lucene Demo to work, any hints are greately 
 apreciated.
 
 Also if you could provide the link to further info so I can look it up 
 myself instead of clugging this newsgroup with stupid questions.
 Thank you
 
 On WindowsXP, I have lucene-1.2.jar and lucene-demos-1.2.jar sitting in the 
 same directory.
 I have tried : java lucene-demos-1.2.jar with no luck.
 
 I have searched the user mailing list archive with out any luck either.
 I have searched http://jakarta.apache.org/lucene without any luck either.
 
 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com
 
 
 --
 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

Free price comparison tool gives you the best prices and cash back!
http://www.bestbuyfinder.com/download.htm


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




RE: New User , How to have the search functioning

2002-09-18 Thread Ravi Kothiyal

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]




RE: New User , How to have the search functioning

2002-09-17 Thread Ravi Kothiyal

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]




New User , How to have the search functioning

2002-09-16 Thread Ravi Kothiyal

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]