Using Lucene to Query File properties in Windows -


I plan to use Apache Lucens in one of my projects, I want to index files based on file properties (The data I won can not be indexed) and I want to inquire the index so that I can quickly find the list of files based on properties.

Example: All files that reach more than 10 times give me / 10/2005 and the entry time is less than 10/04/2010 and the file created by James.

Can I use Lusen for these types of projects? Or I'm better off using the search of windows (Furrent print is about 5 MB too heavy: () and I find it difficult to bundle it as part of my application.

Would you please suggest Are there better options here?


Can I use Apache Poi or Apache Tikiq, so that I do not need to do too much processing?

< P>

luce Of course, there is a viable alternative to indexing file properties, I have done a lot in the past (search for images based on image properties).

In relation to obtaining properties I'm a bit worried. Are you planning to use an API within the file class? Quickly glancing, I think that the APIs are very limited; As a result, you might find these properties elsewhere And can store them in an intermediate medium.

Lucene has an option Sphinx, it seems to be lightweight (depending on my experience and observation, Lucene is better for large datasets I have never worked with Sphinx, but in the millions of rows), but have heard the good things. It may be appropriate to investigate before you commit.


Comments