Thanks for your replies.My problem has been resolved. It was a sql server
connection problem. I declared a variable "databasename" in the
dataconfig.xml file and removed the database name from url.

Can anyone suggest me some good link or url for multiple indexing and spell
check in solr?

Manish Bawne
Software Engineer
Biz Integra Systems Pvt Ltd
http://www.bizhandel.com



Noble Paul നോബിള്‍  नोब्ळ्-2 wrote:
> 
> Please paste the complete stacktrace
> 
> On Fri, Nov 6, 2009 at 1:37 PM, manishkbawne <manish.ba...@gmail.com>
> wrote:
>>
>> Thanks for assistance. Actually I installed jdk 6 and my problem was
>> resolved. But now I am getting this exception:-
>> org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to
>> execute query: select PkMenuId from WCM_Menu Processing Document # 1
>>        at
>> org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.<init>(JdbcDataSource.java:186)
>>        at ---
>>
>> The changes the db-dataconfig.xml file are as :-
>> <dataConfig>
>>                <document>
>>                                <entity name="WCM_Menu" query="select
>> PkMenuId from WCM_Menu"
>> fetchSize="1">
>>                                          <field column="PkMenuId"
>> name="id1" />
>>                                </entity>
>>                        </document>
>> </dataConfig>
>>
>> I don't think, there is some problem with missing hyphen. Please anybody
>> suggest me some way to resolve this error?
>>
>> Manish Bawne
>> Software Engineer
>> Biz Integra Systems
>> www.bizhandel.com
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Chantal Ackermann wrote:
>>>
>>> Hi Manish,
>>>
>>> is this a typo in your e-mail or is your config file really missing a
>>> hyphen? (Your repeating the name without second hyphen several times.)
>>>
>>> Cheers,
>>> Chantal
>>>
>>> manishkbawne schrieb:
>>>>   <str name="config">db-data-config.xml</str>
>>>>
>>>> The changes that I have done in the db-dataconfig.xml file  is :-
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/solr-search-tp26125183p26228077.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
> 
> 

-- 
View this message in context: 
http://old.nabble.com/solr-search-tp26125183p26251669.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to