hitesh
unread,Jun 8, 2010, 11:06:35 PM6/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rsolr
Hello, I'm trying to override carrot.title and carrot.snippet fields
in the query and here's my code
fields_to_show = 'id,post_id,message
query = 'id:' + uid.to_s
result = solr.request '/clustering' , :q=>query , :rows=>
$CLUSTER_LIMIT, :fl=>fields_to_show
how can I add those fields.
If I add :carrot.title => 'c_title", :carrot.snippet =>
'c_snippet',
I get "title" method not defined.
what's the correct way to have custom fields?
Thanks,