So you are suggesting me to iterate file system and index fs tree entities
including: directory names, file names, file size etc. and then post it to
solr?
I need to index the FS tree, not the file contents.
On Tue, Mar 5, 2013 at 5:54 PM, Erik Hatcher erik.hatc...@gmail.com wrote:
Would Solr's
Hi Syao,
You should just write a simple (Java) app that traverses the dir tree, gets
info about each file, uses it to construct Solr doc objects
(SolrInputDocuments if you are working in Java with SolrJ) and sends them
to Solr for indexing. Should be about 30 minutes of work or less.
Otis
--
Hello,
I am trying to index some FS folder tree.
Spent 2 days finding what could be the problem - got nothing :) There are
not so much examples on indexing File System.
In the logs I cant find any exceptions why it does not process the info
Data import configuration and debug response are
On 5 March 2013 15:08, Syao Work syao.w...@gmail.com wrote:
Hello,
I am trying to index some FS folder tree.
Spent 2 days finding what could be the problem - got nothing :) There are
not so much examples on indexing File System.
In the logs I cant find any exceptions why it does not process
And if I need to index file name, path, size and/or mime?
On Tue, Mar 5, 2013 at 2:45 PM, Gora Mohanty g...@mimirtech.com wrote:
On 5 March 2013 15:08, Syao Work syao.w...@gmail.com wrote:
Hello,
I am trying to index some FS folder tree.
Spent 2 days finding what could be the problem -
On 5 March 2013 18:22, Syao Work syao.w...@gmail.com wrote:
And if I need to index file name, path, size and/or mime?
[...]
You would need to create separate entities for each field that
you need to index. The referenced Wiki page on DIH has
other examples of configurations with multiple
Can you send an example?
On Tue, Mar 5, 2013 at 5:11 PM, Gora Mohanty g...@mimirtech.com wrote:
On 5 March 2013 18:22, Syao Work syao.w...@gmail.com wrote:
And if I need to index file name, path, size and/or mime?
[...]
You would need to create separate entities for each field that
you
Would Solr's post.jar work for you? It has a directory recurse option. The
usage/help output is pasted below.
Here's what should work for you: java -Dauto -Drecursive -jar post.jar
/some/folder
Erik
exampledocs java -jar post.jar --help
SimplePostTool version 1.5
Usage: java