[opencms-dev] Search question
Rudolf Blazek
opencms at blazek.net
Tue Oct 31 04:04:30 CET 2006
Hi Dwayne, yes they do. That file is responsible for things like
checking that the search query is at least 3 characters long and
similar things. The search still does not work.
Any help would be greatly appreciated
Rudy
Here is my index definition:
<index>
<name>/sites/MySite</name>
<rebuild>auto</rebuild>
<project>Online</project>
<locale>en</locale>
<sources>
<source>My Website</source>
</sources>
</index>
.......
<indexsource>
<name>My Website</name>
<indexer class="org.opencms.search.CmsVfsIndexer"/>
<resources>
<resource>/sites/MySite/</resource>
</resources>
<documenttypes-indexed>
<name>generic</name>
<name>xmlpage</name>
<name>xmlcontent</name>
<name>text</name>
<name>rtf</name>
<name>pdf</name>
<name>msword</name>
<name>mspowerpoint</name>
<name>msexcel</name>
<name>jsp</name>
<name>image</name>
<name>html</name>
</documenttypes-indexed>
</indexsource>
On Oct 30, 2006, at 9:50 PM, Dwayne Kristjanson wrote:
> Do the page templates in your deployed site include the "page.js"
> JavaScript file? For some reason that I don't yet understand, I
> couldn't
> get searches to work without it.
>
> --
> Dwayne Kristjanson
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Rudolf Blazek
> Sent: Monday, October 30, 2006 8:19 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Search question
>
> Dear List:
>
> Please excuse me, but I need to ask a very simple question that was
> asked but not answered before:
>
> Did anyone succeed with search using
> templateone?
>
>
> My situation is as usual: I have a site in /sites/MySite and the index
> works fine when tested in the workplace under ANY project and under
> ANY
> location. Yet, the search is empty on the deployed site.
>
> I read several lists, I setup my index (named /sites/MySite), I tried
> everything I could find. I even rewired the search page in templateone
> to search my index when using the demo pages. The built- in search in
> templateone just does NOT work with my index.
>
> Is there something I am missing? I am sure it's some silly mistake.
> And no, I do not want to abandon templateone and I am not asking
> how to
> write my own search page...
>
> Thanks
> Rudy
>
>
> P.S.: Please understand that I am really lost. So, please do not
> answer
> "There was a cool thread last week about this". Please post a link, or
> the subject or some other thread reference. I really appreciate your
> help. Thanks, Rudy
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change
> your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list