When I search with q=bobby I get the following record:
<doc>
<date name="date">2008-06-23T07:06:40Z</date>
<str name="description">http://farm1.static.flickr.com/117/...</str>
<int name="id">9</int>
<str name="name">Bobby Gaza</str>
<str name="user">[EMAIL PROTECTED]</str>
</doc>
When I search with bobby* I get nothing.
When I search with steve* I get "Steve Ballmer" and "Steve Jobs"...
What's going on?
The relevant part of my schema.xml is:
<fields>
<field name="id" type="integer" indexed="true" stored="true"
required="true" />
<field name="user_id" type="integer" indexed="true" stored="true" />
<field name="name" type="text" indexed="true" stored="true"/>
<field name="description" type="text" indexed="true" stored="true"/>
<field name="tags" type="text" indexed="true" stored="true"/>
<field name="user" type="text" indexed="true" stored="true"/>
<field name="date" type="date" indexed="true" stored="true"/>
<field name="type" type="string" indexed="true" stored="false"/>
<field name="type_id" type="string" indexed="true" stored="false"/>
<field name="thumb_url" type="string" indexed="true" stored="true"/>
</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>type_id</uniqueKey>
<!-- field for the QueryParser to use when an explicit fieldname is
absent -->
<defaultSearchField>name</defaultSearchField>