<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi @all again,<br>
<br>
much thanks for your fast responses. <br>
<br>
Yes, we're using different locale based folders in the OpenCms project, to
explain our project structure a little bit closer:<br>
<br>
/opencms-project-1:<br>
<br>
/de
[locales.available=de] ->/category-1 ->/'rubric 1' ->
/'xmlcontent 1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html'<br>
-> /'rubric 2' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
-> /'rubric n' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
->/category-2 ->/'rubric 1' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html'<br>
-> /'rubric 2' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html'
<br>
-> /'rubric n' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
->/category-n [...]<br>
<br>
/en
[locales.available=en] ->/category-1 ->/'rubric 1' -> /'xmlcontent
1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html'<br>
-> /'rubric 2' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent
n.html'
<br>
-> /'rubric n' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
<br>
->/category-2 ->/'rubric 1' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html'<br>
-> /'rubric 2' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
-> /'rubric n' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html'<br>
->/category-n [...] <br>
<br>
/fr
[locales.available=fr] ->/category-1 ->/'rubric 1' ->
/'xmlcontent 1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html'<br>
-> /'rubric 2' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent
n.html'
<br>
-> /'rubric n' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
->/category-2 ->/'rubric 1' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html'<br>
-> /'rubric 2' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent n.html' <br>
-> /'rubric n' -> /'xmlcontent 1.html'<br>
-> /'xmlcontent 2.html'<br>
-> /'xmlcontent n.html' <br>
->/category-n [...]<br>
<br>
/it
[locales.available=it] ->/category-1 ->/'rubric 1' -> /'xmlcontent
1.html' <br>
[...]
[...]
[...]<br>
<br>
<br>
So the Online Search for the 'Non Opencms User' in the fronted (the website,
not the OpenCms Workplace application itself!!!) works well by an own written
template, which displays a dynamic search form, where all category- and
rubric-folders are selectable through checkboxes, posting the language specific
name of the Online-Search-Indexes as hidden parameters, configured in 'OpenCms
Search Administration' with it's index-source pointing to the corresponding
virtual file system path, to a result page template.<br>
<br>
We've got round about 12.000 articles in that four languages imported from an
old commercial Content Management System, and the online search in the template
based web fronted works suitable fast and well. That was the largest hurdle.
;-) <br>
<br>
So it's not the Online Search for the webuser in the web frontend, which makes
us headache, because he gets all seachable categories and rubrics offered
though that search form based webrowser-language-specific or he's got chosen
the language manually on the website, and so he gets the article search results
in that wished language.<br>
<br>
Now if the editorial journalist logs in the OpenCms Workplace Application with
it's OpenCms User, he's got the possibility to search in the OpenCms Workplace
via the menu point 'Search' from his Workplace View for the xml content, in our
case the articles. <br>
<br>
But if you're clicking on that 'Search' button, you get a view, where you can
edit and select the 'query', 'sort order', 'Restrict search' and the 'Fields to
search in', but there's only one hard configured "Offline project EN
(VFS)"-search-index to use, you don't have the possibility to change that
index. <br>
<br>
In OpenCms-Search-Administration, click on "View" ->
"Administration" -> "Search Management" you can
configure further locale specific Offline Indexes, if you want, with one or
more 'index sources', pointing to the vfs path(s) you want. But the only way we
found out to use them in the OpenCms-Workplace-Search, is to stop the server
and change this section in opencms-workplace.xml:<br>
<br>
<workplace-search><br>
<searchindex-name>Offline project EN (VFS)</searchindex-name><br>
<searchview-style>explorer</searchview-style><br>
</workplace-search><br>
<br>
and start the server again to use that index, you've edited there.<br>
<br>
Now when your're using this default 'Offline project EN (VFS)' workplace index,
you'll find only results in folder path "/opencms-project-1/en/...",
because the textual content in the articles ('xmlcontent x.html') in paths
'/opencms-project-1/de/...', '/opencms-project-1/fr/...' and '/opencms-project-1/it/...'
uses the internal 'de'-, 'fr'-, 'it'-XML-path in the xmlcontent-Documents
(articles). <br>
<br>
So you can switch this Workplace Search Index by the above described way, using
another own configured Offline Search Index for the OpenCms Workplace, fetching
content for that locale, because one Search Index has only one configurable
locale, but the 'OpenCms user' you're using in the Workplace has not the chance
to get all article results in all locales (folders) for the search term 'Airbus
A380' at once in 1 search run. <br>
You don't even have the chance to select/switch different locale-specific
Offline indexes, to get your search results executing the search 4 times, but
with different search indexes (locales), that's a thing, where we can also live
with.<br>
<br>
So my question is: Is there the possibility, that an OpenCms Workplace User has
the possibility to change that 'Offline project EN (VFS)' index for search runs
during his OpenCms Workplace Session, if configured more indexes, e.g. 'Offline
project DE (VFS)', 'Offline project FR (VFS)', 'Offline project IT (VFS)'?<br>
<br>
Best way would be, that one index has multiple locales configured, to analyze
the xmlcontent-Documents, but that's unfortunately not possible, we know.<br>
<br>
Maybe you know a way for our problem and thanks for your help in advance.<br>
<br>
with best Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Dennis</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>
</div>
</body>
</html>