do. Always pass false to that. (Newer
versions of Lucene have deprecated the create flag to FSDirectory,
leaving it entirely to IndexWriter).
On the lock obtain timed out, probably that's a left over lock file,
so you should just remove it if you're sure it is.
Mike
anjana m wrote
PROTECTED]
wrote:
Physically delete the file, or, use IndexReader.unlock static method.
Mike
On Jan 31, 2008, at 4:26 AM, anjana m wrote:
How do i remove the locks..?
On Jan 31, 2008 2:49 PM, Michael McCandless
[EMAIL PROTECTED]
wrote:
It looks like you are passing true
to FSDirectory,
leaving it entirely to IndexWriter).
On the lock obtain timed out, probably that's a left over lock file,
so you should just remove it if you're sure it is.
Mike
anjana m wrote:
with true:
i finding a serious problem when i need new index please help..
but how can ikeep
,
leaving it entirely to IndexWriter).
On the lock obtain timed out, probably that's a left over lock file,
so you should just remove it if you're sure it is.
Mike
anjana m wrote:
with true:
i finding a serious problem when i need new index please help..
but how can ikeep chnaging
AM, anjana m [EMAIL PROTECTED] wrote:
yes i dont want the old index to be deletd since its running on my app
server..
any suggestion..?
On Jan 27, 2008 3:07 PM, Daniel Naber [EMAIL PROTECTED]
wrote:
On Sonntag, 27. Januar 2008, anjana m wrote:
IndexWriter writer
yes i dont want the old index to be deletd since its running on my app
server..
any suggestion..?
On Jan 27, 2008 3:07 PM, Daniel Naber [EMAIL PROTECTED] wrote:
On Sonntag, 27. Januar 2008, anjana m wrote:
IndexWriter writer = new IndexWriter(indexDir, new
StandardAnalyzer(), true
of ContentSearcher */
return vecname;
}
--
On Jan 25, 2008 1:35 PM, anjana m [EMAIL PROTECTED] wrote:
I want to retain the older index.
I dont want to delete the older index.
Please help me.
Does the recent release has the option
I want to retain the older index.
I dont want to delete the older index.
Please help me.
Does the recent release has the option to update the indexes without
deleting it.
I am ruuning the indexer on my sun application server.
and its thorwing exceptions like cannot delete indexex.
now every time
Hope this info will help..
i have just finished the task...
run the indexer
then run the seracher..
check the mail completly
these are the steps that i ahve followed..
t search directories..
* Indexer.java*
import org.apache.lucene.index.IndexWriter;
import
to 1.9 and then to 2.0.
Erick
On Jan 2, 2008 9:31 AM, Jesiel Trevisan [EMAIL PROTECTED]
wrote:
Thanks.
I'm seeing many chances in this Lucene version 1.3 to 2.2.0
For example, does exists Field.Text() ... .KeyWork()... etc
On Jan 2, 2008 10:39 AM, anjana m [EMAIL
how to i use lucene search to serach files of the local system
On Dec 17, 2007 2:11 PM, Helmut Jarausch [EMAIL PROTECTED]
wrote:
Hi,
according to the LiA book the FuzzyQuery distance is computed as
1- distance / min(textlen,targetlen)
Given
def addDoc(text, writer):
doc = Document()
hey i amnot bale to comple packages are not found..
i download..the luncene package..
help me..
.lucene.search.Hits;
import org.apache.lucene.search.Query;
import org.apache.lucene.document.Field;
import org.apache.lucene.search.Searcher;
import org.apache.lucene.index.IndexWriter;
import
12 matches
Mail list logo