How to do ranking in lucene?

2009-12-13 Thread DHIVYA M
Hi all,   Am using lucene 2.3.1. Can anyone suggest me how to implement ranking in lucene? If its available how is it done?   Thanks in advance, Dhivya The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

Re: How to include some more fields to be indexed in the file document class?

2009-12-04 Thread DHIVYA M
s the demo (modified) and include it. Does that help? -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Fri, Dec 4, 2009 at 2:34 PM, DHIVYA M wrote: > Hi all, > > Am

How to include some more fields to be indexed in the file document class?

2009-12-04 Thread DHIVYA M
Hi all,   Am using lucene 2.3.2. I would like to include some more fields of the to be indexed other than the available one.   In the FileDocument class of the demo version of lucene 2.3.2 there are only three fields added to the documents to be indexed.   Ex: doc.add(new Field("path"..  

Re: How to do relevancy ranking in lucene

2009-12-03 Thread DHIVYA M
est Erick On Thu, Dec 3, 2009 at 7:42 AM, DHIVYA M wrote: > Hi all, > Am using lucene 2.3.2. > When i search using lucene demo am getting all the results which contains > the query. But i would like to restrict my results to the relevant match and > not all the documents containing t

How to do relevancy ranking in lucene

2009-12-03 Thread DHIVYA M
Hi all, Am using lucene 2.3.2. When i search using lucene demo am getting all the results which contains the query. But i would like to restrict my results to the relevant match and not all the documents containing the query string.   Ex: Query: how to search a string?   Response am getting is: a

RE: To exit the while loop if match is found

2009-11-27 Thread DHIVYA M
AJAX frameworks like YUI for the communication between your textbox and the server. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: DHIVYA M [mailto:dhivyakrishna...@yahoo.com] > Sent: Friday, No

RE: To exit the while loop if match is found

2009-11-27 Thread DHIVYA M
on the used analyzers you may find the terms in modified form (lowercased, stemmed,...). Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: DHIVYA M [mailto:dhivyakrishna...@yahoo.com] > Sent:

To exit the while loop if match is found

2009-11-26 Thread DHIVYA M
!termText.startsWith(prefix)) break; - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: DHIVYA M [mailto:dhivyakrishna...@yahoo.com] > Sent: Thursday, November 26, 2009 10:39 AM > To: java-user

to exit the while loop if match is found

2009-11-26 Thread DHIVYA M
o me. The distinction is yours to draw On Thu, Nov 26, 2009 at 3:09 PM, DHIVYA M wrote: > Sir, > > Your suggestion was fantastic. > > I tried the below mentioned code but it is showing me the entire result of > indexed words starting from the letter that i give as in

RE: Need help regarding implementation of autosuggest using jquery

2009-11-26 Thread DHIVYA M
with the termText     } while (tenum.next()); } finally {     tenum.close(); } - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message- > From: DHIVYA M [mailto:dhivyakrishna...@yahoo.com] > Sent: Wednesday, No

RE: Need help regarding implementation of autosuggest using jquery

2009-11-25 Thread DHIVYA M
> -Original Message- > From: DHIVYA M [mailto:dhivyakrishna...@yahoo.com] > Sent: Wednesday, November 25, 2009 8:06 AM > To: java user > Subject: Need help regarding implementation of autosuggest using jquery > > Hi all, > > Am using lucene 2.3.2 as a search eng

Need help regarding implementation of autosuggest using jquery

2009-11-24 Thread DHIVYA M
Hi all,   Am using lucene 2.3.2 as a search engine in my e-paper site. So that i want the user to search the news. I achieved that objective but now am trying to implement autosuggest so that user can pick a choice from the drop down and no need of typing in the entire sentence or so.   I have d

autosuggest - in the sense of autocomplete

2009-11-23 Thread DHIVYA M
expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Mon, Nov 23, 2009 at 3:42 PM, DHIVYA M wrote: > That was a good solution to my problem and i found my fields for the > document. > Acutally i was trying it to find out how to impleme

Re: How to find the fields that are indexed?

2009-11-23 Thread DHIVYA M
, DHIVYA M wrote: > Sir, > > Am using lucene 2.3.2. I would like to know what are the fields that are been > indexed? > > Ex: > > doc.get("path"); > > this statement returns the path of the document > > like "path" what are the other

How to find the fields that are indexed?

2009-11-23 Thread DHIVYA M
Sir,   Am using lucene 2.3.2. I would like to know what are the fields that are been indexed?   Ex:   doc.get("path");   this statement returns the path of the document   like "path" what are the other fields of the document used by lucene   I went through converting all the class files to java f

Link in the result page is not opening

2009-11-06 Thread DHIVYA M
Hi all,   Am using Java Lucene through web.   When i execute through Netbeans, its working well. My problem is:   It is displaying the list of links that points to documents containing the query string. But when i click the link the document[notepad document] is not opening. But if i right click

Error while implementing HIGHLIGHTER

2009-10-30 Thread DHIVYA M
Hi all,   While attempting to use highlighter with lucene 2.3.2 to get the result similar to that of google response am getting the following error.   Kindly give me a solution for this problem or provide me an alternate coding methodology if this s ultimately wrong. I couldnt find out where am

Can anyone help me to implement highlighter in lucene 2.3.2

2009-10-30 Thread DHIVYA M
ukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Fri, Oct 30, 2009 at 12:20 PM, DHIVYA M wrote: > Thanks a lot sir. Its working out well. > > But i have one more doubt. > Is it po

Re: soln found for index overwritting problem

2009-10-29 Thread DHIVYA M
Thanks a lot sir. Its working out well.   But i have one more doubt. Is it possible to check whether the same documents are indexed again and again? bcos due to appending of indexes, when i search a query, the result is displayed as much number of times as the index is created for that document.

soln found for overwritten problem

2009-10-29 Thread DHIVYA M
belong to everybody, the opinions to me. The distinction is yours to draw On Fri, Oct 30, 2009 at 11:43 AM, DHIVYA M wrote: > The question is indeed wrong. Sry for the inconvenience. Actually i should > have asked this way! > > Am trying out executing the demo of lucene 1.4.

Re: What is multiple indexing and how does it work in Lucene [Java]

2009-10-29 Thread DHIVYA M
The question is indeed wrong. Sry for the inconvenience. Actually i should have asked this way!   Am trying out executing the demo of lucene 1.4.3. When i run a file for the first time, the index is properly getting created. When i run the indexing for the second time with a different file, the fi

Re: how to extract text from the result document in lucene search

2009-10-28 Thread DHIVYA M
The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Wed, Oct 28, 2009 at 4:42 PM, DHIVYA M wrote: > Ya thats great sir. > Thanks a lot. > Currently am working with lucene 1.4.3 how to include that highlight class? > Can you p

Re: how to extract text from the result document in lucene search

2009-10-28 Thread DHIVYA M
everybody, the opinions to me. The distinction is yours to draw On Wed, Oct 28, 2009 at 4:24 PM, DHIVYA M wrote: > ya i found sir. > May i know from which version is it available? > > > --- On Wed, 10/28/09, Anshum wrote: > > > From: Anshum > Subject: Re: h

Re: how to extract text from the result document in lucene search

2009-10-28 Thread DHIVYA M
7;s a highlighter in the contrib for 2.4 as well. -- Anshum Gupta Naukri Labs! http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Wed, Oct 28, 2009 at 4:03 PM, DHIVYA M wrote: > Thats exactly matching my

Re: how to extract text from the result document in lucene search

2009-10-28 Thread DHIVYA M
Thats exactly matching my need sir. Thanx a lot But is this highlighter in lucene 2.4.0? --- On Wed, 10/28/09, Benjamin Heilbrunn wrote: From: Benjamin Heilbrunn Subject: Re: how to extract text from the result document in lucene search To: java-user@lucene.apache.org Date: Wednesday, October

how to extract text from the result document in lucene search

2009-10-28 Thread DHIVYA M
Hi   Am a beginner in using lucene. I succeeded in running the demo files of lucene and found the concept.   When we execute the SearchFiles.java file in the demo folder, am getting the names of the documents containing the given query string. Is it possible to display some portions of the text

What is multiple indexing and how does it work in Lucene [Java]

2009-10-27 Thread DHIVYA M
Can anyone tell me what is multiple indexing and how does it work in lucene [Java].   Kindly provide the informations either the explanation or any source for such details.   Thanx in advance

Re: Exception in thread main - error

2009-10-27 Thread DHIVYA M
Thanx for the info. Now i understood what exactly the classpath is. --- On Mon, 10/26/09, Chris Hostetter wrote: From: Chris Hostetter Subject: Re: Exception in thread main - error To: "java user" Date: Monday, October 26, 2009, 6:39 PM : As said i have set the classpath in environment var

Re: Exception in thread main - error

2009-10-26 Thread DHIVYA M
http://ai-cafe.blogspot.com The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw On Mon, Oct 26, 2009 at 12:06 PM, DHIVYA M wrote: > Sir/Mam, > > Am M.Dhivya, learning about apache lucene [Java]. > > I have installed JDK-6 update 4

Exception in thread main - error

2009-10-25 Thread DHIVYA M
Sir/Mam,   Am M.Dhivya, learning about apache lucene [Java].   I have installed JDK-6 update 4 and NetBeans-6.5.1   I downloaded the lucene-1.9-final.zip file and followed the steps given in docs to run the demo.   The extracted lucene-1.9-final folder from the downloaded zip file is in D:\ and t