RE: Search - no results

"Graham Honey" <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Thank you Khue.  I changed the directory in config.xml to point to c:/search_indexes and reindexed the site and the search is now working.

Kind Regards

Graham

-----Original Message-----
From: Khue Nguyen [mailto:[email protected]] 
Sent: Thursday, March 09, 2006 12:31 AM
To: [email protected]
Subject: RE: Search - no results

Hi,

the index directory is defined in the file WEB-INF/etc/config/config.xml:

<prop
key="org.apache.lucene.searchIndexRootDir">/WEB-INF/var/search_indexes</prop
>

Unless an absolute path is given, the index will be created relative to
jahia's webapps folder.

What about deleting the search index directory "C:\Program Files\Apache
Group\Tomcat 4.1\webapps\jahia\WEB-INF\var\search_indexes" and re-index the
whole site? Maybe it is corrupted.


Regards,

Khue Nguyen


-----Original Message-----
From: Graham Honey [mailto:[email protected]] 
Sent: mercredi, 8. mars 2006 13:44
To: [email protected]
Subject: RE: Search - no results

Stephane,

Many thanks for the information.  The part I do not understand is prior to
the launch the search was working in this directory path.  Is it possible
that when the jahia directory was copied from c:\jahia4.1.0_01_b6070 to
C:\Program Files\Apache Group\Tomcat 4.1\webapps\jahia directory that the
search was still searching c:\jahia4.1.0_01_b6070?  As this directory was
removed following the launch.  Is there any way of checking this?

Kind Regards

Graham


-----Original Message-----
From: Stéphane Croisier [mailto:[email protected]]
Sent: Wed 3/8/2006 7:34 PM
To: [email protected]
Subject: Re: Search - no results
 
Usually we do not recommand to install Jahia on a directory path with 
spaces as we encountered several problems (with JVM or others) with 
such directories. Perhaps this is the source of your problem....

/SC


At 02:38 08.03.2006, you wrote:
>Since migrating a site from development to production the site 
>search has stopped working.  No matter what words you search for no 
>results are found.  I have re-indexed the site and checked that 
>files are produced in "C:\Program Files\Apache Group\Tomcat 
>4.1\webapps\jahia\WEB-INF\var\search_indexes\myjahiasite".  The 
>virtual site domain was changed during the production launch.
>
>Originally the site was located at c:\jahia4.1.0_01_b6070 and is now 
>located at C:\Program Files\Apache Group\Tomcat 4.1\webapps\jahia as 
>it is now running under a Windows Tomcat Service.  Following the 
>production launch the c:\jahia4.1.0_01_b6070 directory was deleted.
>
>The site is running on a windows platform under a Tomcat service.  I 
>look forward to hearing from you regarding any advice/support you 
>can offer to resolve this issue asap.
>
>Kind Regards
>
>Graham
>
>IMPORTANT: This e-mail, including any attachments, may contain 
>private or confidential information. If you think you may not be the 
>intended recipient, or if you have received this e-mail in error, 
>please contact the sender immediately and delete all copies of this 
>e-mail. If you are not the intended recipient, you must not 
>reproduce any part of this e-mail or disclose its contents to any other
party.
>
>This email represents the views of the individual sender, which do 
>not necessarily reflect those of education.au limited except where 
>the sender expressly states otherwise.
>
>It is your responsibility to scan this email and any files 
>transmitted with it for viruses or any other defects.
>
>education.au limited will not be liable for any loss, damage or 
>consequence caused directly or indirectly by this email.
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.