Java 在Solr 3.3.0中搜索图像

Java 在Solr 3.3.0中搜索图像,java,lucene,solr,Java,Lucene,Solr,我正在使用Solr3.3.0版本,我需要索引和搜索图像。我能够索引图像文件,但它无法检索它们作为搜索结果。 你们谁能帮我解决这个问题 我的data-config.xml是: <dataConfig> <dataSource type="BinFileDataSource" name="bin"/> <document> <entity name="f" processor="FileListEntityProcessor"

我正在使用Solr3.3.0版本,我需要索引和搜索图像。我能够索引图像文件,但它无法检索它们作为搜索结果。 你们谁能帮我解决这个问题

我的data-config.xml是:

<dataConfig>
    <dataSource type="BinFileDataSource" name="bin"/>
    <document>
        <entity name="f" processor="FileListEntityProcessor" recursive="true" 
rootEntity="false" 
 dataSource="null"  baseDir="C:/Files" 
fileName=".*\.(DOC)|(PDF)|(XML)|(xml)|(JPEG)|(jpg)|(ZIP)|(zip)|(pdf)|(doc)" onError="skip">
            <entity name="tika-test" processor="TikaEntityProcessor" 
url="${f.fileAbsolutePath}" format="text" dataSource="bin" onError="skip"> 
                <field column="Author" name="author" meta="true"/> 
                <field column="title" name="title" meta="true"/> 
                <field column="text" name="text"/> 
                <field column="id" name="id"/>
                <field column="Keywords" name="keywords" meta="true"/> 
</entity> 
 <field column="file" name="fileName"/>
 <field column="fileAbsolutePath" name="links"/>
        </entity>
    </document>
</dataConfig>

这适用于图像以外的其他类型,我无法在搜索结果中获取图像

您必须在索引后使用URL中的查询在solr admin页面中搜索。。 当您对图像进行索引时,它将显示在solr admin的Overview选项卡中。。
假设它没有在solr web pag**e中显示文档和时间,图像没有索引,但我仍在搜索相同的内容……

能否添加有关设置的详细信息?您使用什么描述符对它们进行索引,以及使用什么查询来检索它们?我无法在搜索结果中获取图像这是否意味着您的图像未被索引,意味着即使通过MatchAllDocQuery,{!lucene}*:*,也不会返回图像,或者Tika无法从图像中提取元数据,在这种情况下,将显示文档,但仅显示文件和fileAbsolutePath字段(如果在索引时提供)?图像被索引,但当我尝试使用一些元信息(如作者或甚至内容)搜索它们时,它们根本不会出现在结果中,我不确定是否像其他富文档一样基于内容搜索图像,或者是否有其他特定的搜索图像的方法?查询此id:每个图像的我的图像id,并报告返回的内容。如果它被成功索引,元数据将被返回。