You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ian Lea <ia...@gmail.com> on 2012/02/01 10:31:44 UTC

Re: Apache Lucene file search

I suggest you look at Solr instead of lucene. http://lucene.apache.org/solr/


--
Ian.


On Wed, Feb 1, 2012 at 7:40 AM, Dheeraj Kv <dh...@aol.com> wrote:
> Hi
>        I learnt about Lucene from google and i thought of implementing it my company.
> I don't want to use Lucene as a web search application. I have a large backup storage and which consists of html file, doc files and pdf files.
> I need to search inside a file as well as search for file names. For that purpose I thought I will try Lucene. I m not good in JAVA.
> I installed  it on the server and it worked me for normal search  inside the files, but  found out that file name search is not supported.
> Also it takes the same amount of time for making the index and updating the index of the same directory.
> Can you put some light on it. I used IndexFiles and SearchFiles APIsfor this purpose.
> Commands I used was:
>
>
> Indexing
> java org.apache.lucene.demo.IndexFiles -index /mnt1 -docs /Documents
>
>
> Searching
> java org.apache.lucene.demo.SearchFiles -index /mnt1
>
>
> Regards
>
> Dheeraj KV
>

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