> Now, I want to index my files according to their size and
> facet them
> according to their size ranges. I know that there is an
> option of "fileSize"
> in FileListEntityProcessor but I am not getting any way to
> perform this.
> Is fileSize a metadata? 

You don't need a dynamic field for this. The following additions should enable 
and populate fileSize:

in data-config.xml :

<entity name="f" processor="FileListEntityProcessor" ... >
    <field column="fileSize" name="fileSize"/>
</entity>

in schema.xml :

<field name="fileSize" type="string" indexed="true" stored="true" 
required="false"/> 



Reply via email to