com.trackstudio.index
Class SearcherIndex

java.lang.Object
  extended by com.trackstudio.index.SearcherIndex

public class SearcherIndex
extends java.lang.Object


Constructor Summary
SearcherIndex()
           
 
Method Summary
static EggBasket<java.lang.String,java.lang.String> getReferenced(org.apache.lucene.index.IndexWriter writer, java.lang.String forId, java.lang.String where, java.lang.String KEY_ID)
           
static java.lang.String getSCMlastCommit(org.apache.lucene.index.IndexWriter writer, java.lang.String SCMconnectionName, java.util.Map<java.lang.String,java.lang.String> lastCommits)
           
static java.util.List<CommitListItem<Pair>> getSCMreferenceByNumber(org.apache.lucene.index.IndexWriter writer, java.lang.String taskNum, java.lang.String SCMconnectionName)
           
static java.util.List<CommitListItem<Pair>> getSCMReferences(org.apache.lucene.index.IndexWriter writer, java.lang.String SCMconnectionName)
           
static java.util.HashMap<java.lang.String,DocumentBuilder.FoundItem> searchKeyForAttachments(org.apache.lucene.index.IndexWriter writer, java.lang.String word)
           
static java.util.HashMap<java.lang.String,DocumentBuilder.FoundItem> searchKeyForTasks(org.apache.lucene.index.IndexWriter writer, java.lang.String word)
           
static java.util.HashMap<java.lang.String,DocumentBuilder.FoundItem> searchKeyForUsers(org.apache.lucene.index.IndexWriter writer, java.lang.String word)
           
static java.util.HashMap<java.lang.String,java.lang.Float> searchText(org.apache.lucene.index.IndexWriter writer, java.lang.String searchString, java.lang.String id, java.util.HashMap<java.lang.String,java.lang.Float> list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearcherIndex

public SearcherIndex()
Method Detail

searchText

public static java.util.HashMap<java.lang.String,java.lang.Float> searchText(org.apache.lucene.index.IndexWriter writer,
                                                                             java.lang.String searchString,
                                                                             java.lang.String id,
                                                                             java.util.HashMap<java.lang.String,java.lang.Float> list)
                                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getReferenced

public static EggBasket<java.lang.String,java.lang.String> getReferenced(org.apache.lucene.index.IndexWriter writer,
                                                                         java.lang.String forId,
                                                                         java.lang.String where,
                                                                         java.lang.String KEY_ID)
                                                                  throws GranException
Throws:
GranException

searchKeyForAttachments

public static java.util.HashMap<java.lang.String,DocumentBuilder.FoundItem> searchKeyForAttachments(org.apache.lucene.index.IndexWriter writer,
                                                                                                    java.lang.String word)
                                                                                             throws GranException
Throws:
GranException

searchKeyForUsers

public static java.util.HashMap<java.lang.String,DocumentBuilder.FoundItem> searchKeyForUsers(org.apache.lucene.index.IndexWriter writer,
                                                                                              java.lang.String word)
                                                                                       throws GranException
Throws:
GranException

searchKeyForTasks

public static java.util.HashMap<java.lang.String,DocumentBuilder.FoundItem> searchKeyForTasks(org.apache.lucene.index.IndexWriter writer,
                                                                                              java.lang.String word)
                                                                                       throws GranException
Throws:
GranException

getSCMreferenceByNumber

public static java.util.List<CommitListItem<Pair>> getSCMreferenceByNumber(org.apache.lucene.index.IndexWriter writer,
                                                                           java.lang.String taskNum,
                                                                           java.lang.String SCMconnectionName)
                                                                    throws GranException
Throws:
GranException

getSCMReferences

public static java.util.List<CommitListItem<Pair>> getSCMReferences(org.apache.lucene.index.IndexWriter writer,
                                                                    java.lang.String SCMconnectionName)
                                                             throws GranException
Throws:
GranException

getSCMlastCommit

public static java.lang.String getSCMlastCommit(org.apache.lucene.index.IndexWriter writer,
                                                java.lang.String SCMconnectionName,
                                                java.util.Map<java.lang.String,java.lang.String> lastCommits)
                                         throws GranException
Throws:
GranException


Copyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.