lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "darshan" <dk...@dreamsoftech.com>
Subject RE: Regarding Search
Date Thu, 20 Sep 2012 13:05:11 GMT
Gora Mohanty :- yes. I have an word admin which is in field usrname.

		The result on search on indexing database by hitting link
:- http://localhost:8983/solr/db/dataimport?command=full-import
				<response>
				<lst name="responseHeader">
				<int name="status">0</int>
				<int name="QTime">1</int>
				</lst>
				<lst name="initArgs">
				<lst name="defaults">
				<str name="config">db-data-config.xml</str>
				</lst>
				</lst>
				<str name="command">full-import</str>
				<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">4</str>
				<str name="Total Documents Skipped">0</str>
				<str name="Full Dump Started">2012-09-20
18:28:47</str>
				<str name="">
				Indexing completed. Added/Updated: 0
documents. Deleted 0 documents.
				</str>
				<str name="Committed">2012-09-20
18:28:48</str>
				<str name="Total Documents
Processed">0</str>
				<str name="Time taken">0:0:1.404</str>
				</lst>
				<str name="WARNING">
				This response format is experimental. It is
likely to change in the future.
				</str>
				</response>
And Response after hitting url http://localhost:8983/solr/db/admin/ and
using *:* to search:-
		<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">*:*</str>
				<str name="version">2.2</str>
				<str name="rows">10</str>
				</lst>
				</lst>
				<result name="response" numFound="0"
start="0"/>
				</response>
Thanks,
Darshan

-----Original Message-----
From: Gora Mohanty [mailto:gora@mimirtech.com] 
Sent: Thursday, September 20, 2012 6:13 PM
To: dev@lucene.apache.org
Subject: Re: Regarding Search

On 20 September 2012 17:48, darshan <dkhot@dreamsoftech.com> wrote:
>
> HI Fellows,
>
>                 I had added the following fields in my data-config.xml 
> to implement Data Import Handler
[...]

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

The DataImportHandler reports the number of documents successfully indexed.
Was this correct? Please provide more details as to the exact URL  that you
are using for indexing, and your Solr schema.

> 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

If you are indexing properly,  the obvious question is do you have any
documents that have the text "admin". What results do you get when you
search for *:* (shorthand for any document) from the Solr admin.
interface.

Regards,
Gora

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message