How does your schema for the fields look like?

On Wed, Feb 8, 2012 at 2:41 PM, Radu Toev <radut...@gmail.com> wrote:

> Hi,
>
> I am really new to Solr so I apologize if the question is a little off.
> I was playing with DataImportHandler and tried to index a table in a MS SQL
> database.
> I configured my datasource with the necessary parameters and added three
> fields with column(uppercase) and name:
>
>    <field column="ID" name="machineId" />
>    <field column="SERIAL" name="machineSerial"/>
>    <field column="IVK" name="machineIvk"/>
>
> The full-import command seems to have completed successfully and I see that
> the number of documents processed is the same as the number of entries in
> my table.
> However when I try to run a *:* query from the admin console I only get
> responses in the form:
>
>  < doc>
>      <float name="score">1.0</float>
>      <str name="id">1</str>
>   </doc>
>
> I'm not sure how to get to the bottom of this.
> Thanks.
>



-- 
Regards,

Dmitry Kan

Reply via email to