searchsrv_plat/cpix_search_api/inc/cpixdocument.h
changeset 24 65456528cac2
parent 23 d4d56f5e7c55
--- a/searchsrv_plat/cpix_search_api/inc/cpixdocument.h	Tue Oct 05 13:15:12 2010 +0530
+++ b/searchsrv_plat/cpix_search_api/inc/cpixdocument.h	Fri Oct 15 12:09:28 2010 +0530
@@ -159,6 +159,13 @@
      * @return the CpixDocumentField that was added to the document.
      */
     void addField(const QString aName, const QString aValue, const int aConfig = CpixDocument::DefaultConfig);
+    
+    /**
+     * Getter: Gets the field by name from the document.
+     * @param aName name of the field that is to be retrieved.
+     * @return CpixDocumentField .
+     */
+    const CpixDocumentField& field( const QString aName ) const THROWS_EXCEPTION;
 
 private:
     /**