title: Search in Liferay
body: <p>I have created one structure which is followed by web content. Structure Contains 2 fields. One is Area name and the second is Zip Code. I stored data in web content followed by this structure. 
  I want to search for data based on zip code or area name entered by the user. I want to provide a dropdown to the user to select criteria to search like by Zipcode / by Area name. </p>
  
  <p>The problem is web content data is stored in XML format. So whenever a user searches for a keyword it will return all results which contain given text. I want to restrict that. </p>
  
  <p>I am using this method for search data.</p>
  
  <p><code>List&lt;JournalArticle&gt; results = JournalArticleLocalServiceUtil.search(
                    themeDisplay.getCompanyId(), //company id 
                    themeDisplay.getScopeGroupId(), // group id 
                    null, //folderIds Log list 
                    0, //classname 
                    null, //version 
                    null,//title 
                    null, //description 
                    searchkeyword, // here  put your keywords  to search
                    new Date(), // startDate 
                    new Date(), // endDate 
                    0, //status 
                    null, //review Date 
                    QueryUtil.ALL_POS, 
                    QueryUtil.ALL_POS, null);</code></p>