index.js 685 B

12345678910111213141516171819202122232425
  1. define(["stopwords", "index-1", "index-2", "index-3", "htmlFileInfoList", "link2parent", "jquery"], function(stopwords, index1, index2, index3, fileInfoList, link2parent, $) {
  2. var words = $.extend({}, index1, index2, index3);
  3. return {
  4. /**
  5. * The object with indexed words.
  6. *
  7. * {"word" : "topicID*score, topicID*score"}
  8. */
  9. w : words,
  10. /**
  11. * Auto generated list of analyzer stop words that must be ignored by search.
  12. */
  13. stopWords : stopwords,
  14. /**
  15. * File info list.
  16. */
  17. fil : fileInfoList,
  18. link2parent : link2parent
  19. };
  20. });