Hi,

We're having difficulty with some wildcard searches in Solr 4.0Beta. We're 
using a copyField to write a "tdate" to a "text_general" field. We are using 
the default definition for the "text_general" field type. 

        <field name="my_date" type="tdate" indexed="true" stored="true" />
        <field name="date_text" type="text_general" indexed="true" 
stored="true" />

        <copyField source="my_date" dest="date_text"/>

Here's the sample data it holds:

        2010-01-27T00:00:00Z
        2010-01-28T00:00:00Z
        2010-01-31T00:00:00Z

We run these queries and they return the expected results:

        date_text:"2010*"
        date_text:"2010-*"
        date_text:"2010-01*"
        date_text:"2010-01-*"

However, when we run these, they return nothing. What are we doing wrong? 

        date_text:"*-01-27"
        date_text:"2010-*-27"
        date_text:"2010-01-27*"

Warm regards,
Alex 

Reply via email to