lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "darshan" <dk...@dreamsoftech.com>
Subject Regarding Search
Date Thu, 20 Sep 2012 12:18:47 GMT
HI Fellows,

                I had added the following fields in my data-config.xml to
implement Data Import Handler

<dataConfig>

  <dataSource driver="org.postgresql.Driver"

     url="jdbc:postgresql://192.168.1.46:5432/evergreen"

      user="postgres"

    />

  <document>

   <entity name="page" query="SELECT *  from actor.usr">

      <field column="CUSTID" name="custid" />

      <field column="FAMILYNAME" name="familyname" />

      <field column="USRNAME" name="usrname" />

  </entity>

  </document>

</dataConfig>

When I perform steps of Full import Example at
http://wiki.apache.org/solr/DataImportHandler

I can successfully index on my database, BUT here the issue is after
visiting admin page for search and search for any text, I didn't receive any
output and the response is always 

<response>

<lst name="responseHeader">

<int name="status">0</int>

<int name="QTime">2</int>

<lst name="params">

<str name="indent">on</str>

<str name="start">0</str>

<str name="q">admin</str>

<str name="version">2.2</str>

<str name="rows">10</str>

</lst>

</lst>

<result name="response" numFound="0" start="0"/>

</response>

Please guide me on this , am a newbie to apache solr.

 

Thanks,

Darshan

 


Mime
View raw message