Are you asking how to implement that ?  I would do the following : tracking
new file creations and deletions and incremental indexing may be
complicated, so scan recursively all files ( perhaps scheduled task  ) and
rebuild index from scratch . Intercept each letter type in your textbox and
run Lucene query ( you need to do some studies how to run wildcard queries ,
"Lucene  in Action" MEAP second edition or Internet may be more appropriate
than buying original 2005  "Lucene in Action" printed book ) .  It may be
more complicated and slower  to run multiple word wildcards in case if it is
multi-word filename   (  *word1_fragment_ends_with AND
word2_fragment_starts_with*  )  I never tried or measured a performance .
But if you put a  constraint to do incremental search for a single  word
only  (  *containts_this_word_fragment* ) it should be straightforward.

On Sat, Aug 22, 2009 at 10:05 PM, John Emmatty <[email protected]>wrote:

> Hi,
>
> I am creating a desktop search application for windows..I am planning to
> use
> lucene.net  in it. I just need to do a word wheeled search for the
> filename(not content) as per the users input. How can i achieve the same
> using lucene?
>
> Thanks in advance.
>
> Regards,
> John.
>

Reply via email to