I switched to the ms driver an now all is well. Must be an
incompatibility with the JSQLConnect driver.
Sent from my iPhone
On Aug 18, 2009, at 11:47 PM, Noble Paul നോബിള് नो
ब्ळ् wrote:
> this comment says that
> 7
>
> the query fetched only 7 rows. If possible open a tool and just run
> the same query and see how many rows are returned
>
> On Wed, Aug 19, 2009 at 3:46 AM, Erik Earle
> wrote:
>> Using:
>> - apache-solr-1.3.0
>> - java 1.6
>> - tomcat 6
>> - sql server 2005 w/ JSQLConnect 4.0 driver
>>
>> I have a group table with 3007 rows. I have confirmed the key is
>> unique with "select distinct id from group" and it returns 3007.
>> When i re-index using http://host:port/solr/dataimport?command=full-import
>> I only get 7 records indexed. Any insight into what is going on
>> would be really great.
>>
>> A partial response:
>>
>>1
>>7
>>0
>>
>>
>> I have other entities that index all the rows without issue.
>>
>> There are no errors in the logs.
>>
>> I am not using any Transformers (and most of my config is not
>> changed from install)
>>
>> My schema.xml contains:
>>
>> key
>>
>> and field defs (not a full list of fields):
>> > required="true" />
>> > required="true" />
>>
>> > stored="true" />
>>
>>
>>
>> data-config.xml
>>
>>
>>
>>>driver="com.jnetdirect.jsql.JSQLDriver"
>>url="jdbc:JSQLConnect://se-eriearle-lt1/database=SocialSite2/
>> user=SocialSite2"
>>user="SocialSite2"
>>password="SocialSite2" />
>>
>>
>>
>>
>>
>>>query="select 'group.'+id as 'key', 'group' as 'class',
>> name, handle, description, created, updated from group order by
>> created asc">
>>
>>
>>>query="<...redacted...>">
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> -
> Noble Paul | Principal Engineer| AOL | http://aol.com