Re: Jahia search relevance and field indexing

Stéphane Croisier <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

Currently Jahia indexes on a per field basis. The 
page used for the template declaration is the 
page returned in the search result. Then you can 
perfectly reuse in a template some existing 
content objects (cf absolute addressing in Jahia) 
or make any other kind of operations on your 
content objects (e.g. remove all the last 5 
letters for all big texts and small texts). As we 
store in the search engine the fields stored in 
the Jahia DB and we do not use Lucene as a web 
crawler, content directly stored within the JSP 
(hardcoded), content reused from another page or 
content manipulated in the JSP is not returned. 
Same is true for example with the page footer 
which is only returned for the home page. But 
would it be pertinent to return all the pages of 
the site if you search a wrod which is located in 
the page footer? But the pinciple is the same as 
the page you are mentionning. So it should 
certainly be something we need to (will) improve 
in the future but that is not something easy to handle.

Cheers,
Stéphane

At 13:27 30/06/2005, you wrote:

>Hello,
>
>I have a question with regard to the Search 
>functionality in Jahia, namely how the fields are indexed.
>It seams to me, that fields during indexing are 
>assigned to the ID of the page, that is a so 
>called 'overview' page and not that one that directly contains those fields.
>
>My scenario is as follows:
>
>1) go to the Jahia Demo site
>         http://demo.jahia.org/
>
>2) log in as e.g. siteadmin/test123
>
>3) in the search field type
>         Expenses Templates
>and start search
>
>4) as the first search result you get the page with title 'HR'
>something like this:
>
>
>If you just take a look at that page ('HR') its 
>an overview page with a table where 'Expenses 
>Templates' is a description of one of the list items, namely 'Expenses'.
>         http://www.jahia.org/demo/Jahia/lang/en/pid/48
>
>The 'Expenses' page looks follows (if you click on a green link 'Expenses'):
>         http://www.jahia.org/demo/Jahia/lang/en/pid/66
>So I expect that as a first result of the search 
>for 'Expenses Templates' the details page 
>appears and not the one with the overview.
>
>Is there any solution for such problem?
>
>
>Thanks to all in advance!
>
>Sergiy Shyrkov
>Research & Development
>------------------------------------------------------------
>COMMARO mobile trading systems GmbH
>Lakeside B04
>A-9020 Klagenfurt - Austria/Europe
>phone:    +43-(0)463 298505-321
>fax:          +43-(0)463 298508-22
>eMail:     [email protected]
>Homepage: www.commaro.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.