Hi Shalin,
Got the answer. I had uniquekey defined in schema.xml but that was not
present in any columns hence problem for indexing.
Thanks a lot for your help buddy.
Cheers,
Ashish

Ashish P wrote:
> 
> yes I did full import. so previous docs are gone as you said.
> But when I do  http://localhost:8080/solr/dataimport I get following
> response
> 
>  <response>
> - <lst name="responseHeader">
>   <int name="status">0</int> 
>   <int name="QTime">0</int> 
>   </lst>
> - <lst name="initArgs">
> - <lst name="defaults">
>   <str name="config">my-dataConfig.xml</str> 
>   </lst>
>   </lst>
>   <str name="status">idle</str> 
>   <str name="importResponse" /> 
> - <lst name="statusMessages">
>   <str name="Total Requests made to DataSource">1</str> 
>   <str name="Total Rows Fetched">119</str> 
>   <str name="Total Documents Skipped">0</str> 
>   <str name="Full Dump Started">2009-03-10 14:49:58</str> 
>   <str name="">Indexing completed. Added/Updated: 0 documents. Deleted 0
> documents.</str> 
>   <str name="Committed">2009-03-10 14:49:58</str> 
>   <str name="Optimized">2009-03-10 14:49:58</str> 
>   <str name="Time taken">0:0:0.141</str> 
>   </lst>
>   <str name="WARNING">This response format is experimental. It is likely
> to change in the future.</str> 
>   </response>
> 
> I shows imported row numbers, indexing complete buts adds 0 documents.
> Does that suggest anything..
> 
> 
> Shalin Shekhar Mangar wrote:
>> 
>> On Tue, Mar 10, 2009 at 11:01 AM, Ashish P <ashish.ping...@gmail.com>
>> wrote:
>> 
>>>
>>> Oh looks like some other big problem, Now I am not able to see other
>>> text
>>> data I indexed before adding DB data to index...
>>> Can not search any data...But I am sure I was able to search before
>>> adding
>>> DB to index
>>> Any pointers???
>>>
>>>
>> So you added some documents before running a full-import with
>> DataImportHandler? When you do a full-import, all previous documents are
>> deleted. That may be a reason.
>> 
>> However, there should be some documents which DataImportHandler created.
>> 
>> -- 
>> Regards,
>> Shalin Shekhar Mangar.
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Querying-DB-indexed-data-tp22428120p22428615.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to