How are you ingesting the offic documents? SolrCell, or some other method?

Do you have CopyFields? What fields are you querying on?

What does your "text" field type look like?

-- Jack Krupansky
-----Original Message----- From: robert rottermann
Sent: Monday, August 20, 2012 10:39 AM
To: solr-user@lucene.apache.org
Cc: robert rottermann
Subject: solr finds allways all documents

Hi there,
I am new to solr et all. Besides I am a  java noob.

What I am doing:
I want to do full text retrival on office documents. The metadata of
these documents are maintained in Postgesql.
So the only intormation I need to get out of solr is a documet ID.

My problem no is, that my index seem to be done badly.
(nearly) What ever I look up, returns all documents.

I would be very glad, if somebody could give me an idea what I shoul change.

thanks
Robert


What I am using is the sample configuration that comes with solr 3.6.
I removed all the fields and added the following:

<fields>

    <field name="docid" type="string" indexed="true" stored="true"
required="true"/>
    <field name="docnum" type="text" indexed="true" stored="true"
required="false"/>
    <field name="titel" type="text" indexed="true" stored="true"
required="false"/>
    <field name="fsname" type="text" indexed="true" stored="true"
required="false"/>
    <field name="directory" type="text" indexed="true" stored="true"
required="false"/>
    <field name="fulltext" type="text" indexed="true" stored="false"
required="false"/>
    <dynamicField name="*" type="ignored" />
</fields>
<!-- Field to use to determine and enforce document uniqueness.
    Unless this field is marked with required="false", it will be a
required field
-->
<uniqueKey>docid</uniqueKey>


Reply via email to