Hi,

l, we would need to see the declaration of the field type of your title field. 
However, if you use the shipped schema.xml it doesn't make any sense because 
it declares a field type that lowercases on both query time and index time. 
You should use the analysis.jsp in your Solr admin.

Then, if you really need to change your schema.xml for some reason, you need 
to reindex. If you still have the original CrawlDB, LinkDB and segments then 
using the solrindex command is sufficient.

Cheers,

On Tuesday 17 August 2010 11:20:10 Jeroen van Vianen wrote:
> Hi,
> 
> I have an index with the following solr mapping:
> 
> <mapping>
>          <fields>
>                  <field dest="content" source="content"/>
>                  <field dest="site" source="site"/>
>                  <field dest="title" source="title"/>
>                  <field dest="host" source="host"/>
>                  <field dest="segment" source="segment"/>
>                  <field dest="boost" source="boost"/>
>                  <field dest="digest" source="digest"/>
>                  <field dest="tstamp" source="tstamp"/>
>                  <field dest="lastModified" source="lastmodified"/>
>                  <field dest="id" source="url"/>
>                  <copyField source="url" dest="url"/>
>          </fields>
>          <uniqueKey>id</uniqueKey>
> </mapping>
> 
> I now noticed that if I query on title, the field is stored as-is, but
> when searching my search term is changed to lowercase. This results in
> queries like "title:Jobs OR title:jobs" not returning any documents
> where the title in the index contains "Jobs" rather than "jobs".
> 
> Is there a way to fix this in either Nutch or my Solr schema definition?
> And is there a way to fix this for an existing index or do I need to
> reindex everything again? If so, how do I do this using nutch commands?
> 
> Thank you and best regards,
> 
> 
> Jeroen
> 

Markus Jelsma - Technisch Architect - Buyways BV
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Reply via email to