title: Vector Search not working properly in XPages
body: <p>I am using vectors to perform multi-column search functionality in XPages. Its working but not efficiently. In filter column value property I am using below code:</p>
  
  <pre><code>try {
      var vtr:java.util.Vector = new java.util.Vector();
      var t1 = sessionScope.searchfirstName;
      var t2 = sessionScope.searchlastname;
      var t3 = sessionScope.searchemail;
      var t4 = sessionScope.searchcountry;
      var t5 = sessionScope.searchcompany;
  
      @If(t1 !=null,vtr.addElement(t1),vtr.addElement(""));   
      @If(t2 !=null,vtr.addElement(t2),vtr.addElement(""));
      @If(t3 !=null,vtr.addElement(t3),vtr.addElement(""));
      @If(t4 !=null,vtr.addElement(t4),vtr.addElement(""));
      @If(t5 !=null,vtr.addElement(t5),vtr.addElement(""));
  
      return vtr;
  } catch(e) {
  }
  </code></pre>
  
  <p>When I am performing search operation, it will work for some values not for all. Like if I search for "Raj" as first name it will show me result but if I search for "Yadav" as last name then it will show me 0 result.</p>