Index: CmsVfsDocument.java =================================================================== RCS file: /usr/local/cvs/opencms/src/org/opencms/search/documents/CmsVfsDocument.java,v retrieving revision 1.11 diff -u -r1.11 CmsVfsDocument.java --- CmsVfsDocument.java 19 Nov 2004 15:07:07 -0000 1.11 +++ CmsVfsDocument.java 29 Nov 2004 18:30:51 -0000 @@ -116,7 +116,12 @@ } if ((value = m_cms.readPropertyObject(path, I_CmsConstants.C_PROPERTY_DESCRIPTION, false).getValue()) != null) { document.add(Field.Text(I_CmsDocumentFactory.DOC_DESCRIPTION, value)); - } + } + // begin 2004/11/29 Marcel Kraus (marcel.kraus@sycor.de) + if ((value = m_cms.readPropertyObject(path, I_CmsConstants.C_PROPERTY_NAVTEXT, false).getValue()) != null) { + document.add(Field.Text(I_CmsDocumentFactory.DOC_NAVTEXT, value)); + } + // end document.add(Field.Keyword(I_CmsDocumentFactory.DOC_DATE_CREATED, DateField.timeToString(res.getDateCreated()))); Index: I_CmsDocumentFactory.java =================================================================== RCS file: /usr/local/cvs/opencms/src/org/opencms/search/documents/I_CmsDocumentFactory.java,v retrieving revision 1.11 diff -u -r1.11 I_CmsDocumentFactory.java --- I_CmsDocumentFactory.java 19 Nov 2004 15:07:07 -0000 1.11 +++ I_CmsDocumentFactory.java 29 Nov 2004 18:30:53 -0000 @@ -27,6 +27,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * */ package org.opencms.search.documents; @@ -68,6 +69,11 @@ /** Search field for document title. */ String DOC_TITLE = "title"; + // begin 2004/11/29 Marcel Kraus (marcel.kraus@sycor.de) + /** Search field for document navtext. */ + String DOC_NAVTEXT = "navtext"; + // end + /** * Returns the document key for the search manager.
*