lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert-Jan Brits <>
Subject Re: Quering the database
Date Mon, 02 Aug 2010 13:47:38 GMT
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:


2010/8/2 Hando420 <>

> 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:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message