I am developing a desktop search engine in VB 9 using Lucene.NET
I want to delete
doc.Add (new field ("path"). ", file path, field.store.Yes, field .index .UN_TOKENIZED) doc.Add (new field ("modified", new file info (file path), strotetime, field.store, yes, field.index.un_TOKENIZED).
< P> I am using index reader to find out if the file Is present in the prefix (to avoid re-indexing the same file). A slow reader indicator reader = as indexer. Open (SearchForm.InxxFolderTextboxText) If Reader.DocFrack (New Term ("Path", File Path)) = 0 Then Add File (File Path) End if Reader. ()
I have the following doubt:
-
I have an index entry for a particular file, to know that I
modify Of
How to use the value in the field do? Old? What work of the comment reader will allow me to do this? -
deleteDocument ()
How do I get the document number (answer to my questions)? , Use the following dictation method:
So you will not need a document number.
Comments
Post a Comment