Im trying to index a boolean location, but for some reason it does not show
up in my indexed data.

data-config.xml

        <entity name="location" query="select * from locations">
            <field name="id" column="ID" />
            <field name="title" column="TITLE" />
            <field name="city" column="CITY" />
            <field name="official" column="OFFICIALLOCATION" />

OFFICIALLOCATION is a MSSQL database field of type 'bit'


schema.xml

<field name="official" type="boolean" indexed="true" stored="true"/>
<copyField source="official" dest="text" />

(im not sure why I would use <copyField, also tried it without that line,
but still without luck)
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Indexing-boolean-value-tp1023708p1023708.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to