[
http://www.jahia.net/jira/browse/TEMPLATES-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35739#action_35739
]
Sergiy Shyrkov commented on TEMPLATES-478:
------------------------------------------
In case of the file search, the search hit title is the name of the file and
the summary is the content excerpt (first 175 characters) - see
document-search.jpg.
In case of pages search (default one) the page title is the title and the
summary - see page-search.jpg.
The code in the SP4 and Corpv2 was using hightlighter to get the full text
('jahia.content' field from the Lucene index) and display the summary. As the
highlighter is not used (yet) in the Andromeda, we need to find a way, how to
display something meaningful here.
> Search results template : double entry ?
> ----------------------------------------
>
> Key: TEMPLATES-478
> URL: http://www.jahia.net/jira/browse/TEMPLATES-478
> Project: Jahia Default Templates / Web Design / General Usability
> Issue Type: Assistance
> Components: Community templates
> Reporter: Clement Egger
> Assignee: Benjamin Papez
> Fix For: Templates 6.0
>
> Attachments: document-search.jpg, page-search.jpg
>
>
> When using the search results template, the page title appears twice
> The source code is
> <dt><a href="${hit.link}">${fn:escapeXml(hit.title)}</a></dt>
> <dd>${fn:escapeXml(hit.summary)}</dd>
> What's teh difference between ${fn:escapeXml(hit.title)} and
> ${fn:escapeXml(hit.summary)}
> must we keep both in templates today ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.jahia.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
jira_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/jira_list