lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pasha Bizhan" <lucene-l...@lucenedotnet.com>
Subject RE: how to craete index with particular ID
Date Wed, 31 May 2006 10:36:44 GMT
Hi, 

> From: Amaresh Kumar Yadav [mailto:Amaresh.Yadav@niit.com] 
> 
> First create a text file which contains data(that is retrived 
> by oracle query) which is stored in table.

You have not to create text file for indexing. You can index your data
immediately:
	open IndexWriter
	execute select
	for each row in result set:
		- create Document for each row
		- create field for each db-field
		- add document into index
	close IndexWriter
 
> Now i want to creat index for this file.
> 
> now i want to search on title of document which is stored in 
> the text file.
> 
> after searching i want to disply corresponding path from index file.
> 
> How should i creat such index file  ???
> 
> how should i proceed????

See http://wiki.apache.org/jakarta-lucene/LuceneFAQ for more details.

Pasha Bizhan


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


Mime
View raw message