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 - 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 attached
> [...]
>
> Please look more closely at the sample data configuration file at
> http://wiki.apache.org/solr/DataImportHandler#FileListEntityProcessor
> You need to use something like XPathEntityProcessor to define
> entities for indexing. Other entity processors, such as
> PlainTextEntityProcessor,
> can instead be used if you are not using XML files. Also, make sure
> that the field definitions in your schema.xml match the field names
> here.
>
> Regards,
> Gora
>

Reply via email to