title: Liferay searchContext search by AssetTags and Keywords
body: <p>I'm trying to implement custom search portlet through AssetEntries. Currently AssetEntryQuery doesn't allow to search with keywords. I'm trying to search through FacetedSearcher. Search by keywords seems to be ok. But when I'm trying to search by AssetTagNames</p>
  
  <pre><code>searchContext.setAssetTagNames(assetTagNames)
  </code></pre>
  
  <p>it doesn't work at all. 
  Here's my piece of code </p>
  
  <pre><code> SearchContext searchContext = new SearchContext();
           Facet assetEntriesFacet = new AssetEntriesFacet(searchContext);
           assetEntriesFacet.setStatic(true);
           searchContext.addFacet(assetEntriesFacet);
  
           /*MultiValueFacet multiValueFacet=new MultiValueFacet(searchContext);
           multiValueFacet.setFieldName("assetTagNames");
           multiValueFacet.setStatic(false);
           searchContext.addFacet(multiValueFacet);*/
  
         searchContext.setCompanyId(themeDisplay.getCompanyId());
         String []assetTagNames=new String[1];
          assetTagNames[0]=  assetTagName;
          searchContext.setAssetTagNames(assetTagNames);
          searchContext.setKeywords(keywords);
          String[] entryClassName = {JournalArticle.class.getName()};
          searchContext.setEntryClassNames(entryClassName);
  
          Indexer indexer = FacetedSearcher.getInstance();
         // searchContext.setAndSearch(true);
          Hits hits = indexer.search(searchContext);
          System.out.println("Hits: " + hits.getLength());
  </code></pre>
  
  <p>Resulted query for request 
  searchKeyword: key1key1
  assetTagName: sometag</p>
  
  <pre><code>+(+(companyId:1) +((+(entryClassName:com.liferay.portlet.journal.model.JournalArticle) +(status:0)))) +(assetCategoryTitles:*key1key1* assetCategoryTitles_en_US:*key1key1* assetTagNames:*key1key1* comments:key1key1 content:key1key1 description:key1key1 properties:key1key1 title:key1key1 url:key1key1 userName:*key1key1* classPK:key1key1 content_en_US:key1key1 description_en_US:key1key1 entryClassPK:key1key1 title_en_US:key1key1 type:key1key1)
  </code></pre>
  
  <p>As you see AssetTag isn't applied to the query.
  I've already tried to set it through</p>
  
  <pre><code>searchContext.setAttribute("assetTagNames",assetTagName);
  </code></pre>
  
  <p>and commented MultiValueFacet code but wih no result.
  For further i need to search by dateRange and Categories. Has anybody any idea?</p>