There's a match between the query and the content of field I want to highlight on. Solr is giving me the id of the document matching my query, but it's not displaying the field I want to highlight on.
Here's the definition of the field I want to highlight on: <field name="title" type="string" indexed="false" stored="true" /> And here's part of my URL: /?q=Terrain&debugQuery=on&hl=true&hl.fl=title If I change the type to "text" instead of "string", the highlighting works well! Thanks for your help. -S. 2010/3/23 Ahmet Arslan <iori...@yahoo.com> > > Thanks Erik. Actually, I restarted > > and reindexed numers of time, but still > > not working. > > Highlighting on string typed fields perferctly works. See the output of : > > > http://localhost:8983/solr/select/?q=id%3ASOLR1000&version=2.2&start=0&rows=10&indent=on&hl=true&hl.fl=id > > But there must be a match/hit to get highlighting. What is your query and > candidate field content that you want to highlight? > > > >