you should (as per the example) define the field as text in your solr-schema
not in your RDB.
something like:  <field name="field_1" type="text" indexed="true"
stored="true" required="true"/>

then search like: q=field_1:monitors

the example schema illustrates a lot of the possibilities on how you to
define fields and what is all means.
Moreover have a look at:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters

Geert-Jan

2010/8/2 Hando420 <hando...@gmail.com>

>
> Thank you for your reply. Still the the problem persists even i tested with
> a
> simple example by defining a column of type text as varchar in database and
> in schema.xml used the default id which is set to string. Row is fetched
> and
> document created but searching doesn't give any results of the content in
> the column.
>
> Best Regards,
> Hando
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Quering-the-database-tp1015636p1015890.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to