well... i have made some changes to see what happens... here is the current
situation... not only search but also indexing fails...
here is my dataconfig file:
<dataConfig>
<dataSource type="URLDataSource" connectionTimeout="5000"
readTimeout="100000"/>
<document>
<entity name="universal"
pk="id"
url="http://blablabla/6564"
processor="XPathEntityProcessor"
forEach="/universal/user">
<field column="user" xpath="/universal/user"/>
<field column="id" xpath="/universal/id"/>
</entity>
</document>
</dataConfig>
the url simply returns an xml file formatted as
<universal>
<user>
</user>
<id>
</id>
</universal>
and here is the related part of the schema.xml :
<fields>
<field name="user" type="string" indexed="true" stored="true" />
<field name="id" type="string" indexed="true" stored="true"
required="true" />
</fields>
<uniqueKey>id</uniqueKey>
<defaultSearchField>user</defaultSearchField>
And here is the result:
When there is only one field "user", it can be indexed but when I make a
search no matches... And when I add "id" field too, it is not indexed.
so any ideas?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Search-fails-tp2907093p2917280.html
Sent from the Solr - User mailing list archive at Nabble.com.