Ejemplo n.º 1
0
        public MetadataRanking(SearchingContent sc, Record record)
        {
            string temp = null;

            if (sc.wordsInAnyText != null)
            {
                foreach (string text in sc.wordsInAnyText)
                {
                    temp = text + " ";
                }
            }

            this.strQueryAnyText = temp;
            this.strTitle        = record.Title;
            this.strAbstract     = record.Abstract;
            this.strKeywordsList = record.DescriptiveKeywords;
            this.strServiceType  = record.Type;
            this.strContact      = record.Provider;
            this.strOnlineURL    = record.AccessURL;

            this.strQueryAnyTextList = new List <string>();
            adSearcher = true;

            wordsInAbstract = sc.wordsInAbstract;
            wordsInAnyText  = sc.wordsInAnyText;
            wordsInTitle    = sc.wordsInTitle;
            Keywords        = sc.Keywords;

            InitialRanking();
        }
Ejemplo n.º 2
0
 public static string getSearchContentString(SearchingContent searchingContent)
 {
     return("");
 }