On Mar 30, 2010, at 2:14 AM, MitchK wrote:
Excuse my language-correctness yesterday - I think one can see the
long
trying-to-fix-a-bug-work? :)
Erick, I have found out how to delete the whole index - with the
help of
some http-requests.
Afterwards I have started to reindex the data again - and Solr used
the
newest schema-information after a restart.
However, the problem is the same.
The most confusing thing is, that searching over the unique-ID works
great.
Here is some information about custom changes in the solr-config.
Everything
else is similar to the solrconfig of the example-directory.
<requestHandler name="/dataimport/mysql"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">db-data-config.xml</str>
</lst>
</requestHandler>
The db-data-config.xml
<dataConfig>
<dataSource driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/testdb" user="testuser"
password="password"
batchSize="-1"/>
<document>
<entity name="defaults" query="SELECT ID,Title FROM
testdaten">
<field column="title" name="titleProcessed" />
I believe the column is case-sensitive, so you'll need to say
column="Title".
Erik