NOTES 1.8 KB

1234567891011121314151617181920212223242526272829
  1. Development information
  2. Compiling the modified OogieDocumentConverter.java(note target):
  3. javac -cp .:commons-cli-1.0.jar:commons-io-1.3.1.jar:edtftpj-1.5.2.jar:java_uno_accessbridge.jar:java_uno.jar:jodconverter-2.2.1.jar:jodconverter-cli-2.2.1.jar:juh-2.3.0.jar:jurt-2.3.0.jar:jut.jar:oogie.jar:ridl-2.3.0.jar:ridl.jar:slf4j-api-1.4.3.jar:slf4j-jdk14-1.4.3.jar:unoil-2.3.0.jar:xstream-1.2.2.jar -sourcepath commons-cli-1.0.jar:commons-io-1.3.1.jar:edtftpj-1.5.2.jar:java_uno_accessbridge.jar:java_uno.jar:jodconverter-2.2.1.jar:jodconverter-cli-2.2.1.jar:juh-2.3.0.jar:jurt-2.3.0.jar:jut.jar:oogie.jar:ridl-2.3.0.jar:ridl.jar:slf4j-api-1.4.3.jar:slf4j-jdk14-1.4.3.jar:unoil-2.3.0.jar:xstream-1.2.2.jar -target 1.5 OogieDocumentConverter.java
  4. Debugging help:
  5. error_log('info: id = <'. $id .'>');
  6. echo Display::return_message(print_r($arrLP,1));
  7. DB modifications:
  8. ALTER TABLE lp_item ADD terms TEXT NULL ;
  9. ALTER TABLE lp_item ADD search_did INT(10) NULL
  10. -- on every course, so it's pending(TODO):
  11. -- script to generate it for all courses depending of the type of dokeos intalation(one db or many)
  12. -- create it when a course is created
  13. About search:
  14. Xapian support two main ways of search: probabilistic and boolean.
  15. - Probabilistic: search in all index_text() info indexed to xapian
  16. - Boolean: search in xapian terms(doc have the term or not), depending on prefix
  17. About terms:
  18. It's assumed that terms(tags) have only 1 word and are stored at a CVS string in dokeos DB
  19. Prefixs:
  20. Each term in xapian DB would have a prefix depending of the tipe of term.
  21. Here is the actual propossed list:
  22. - 'T': tags(free tagging), stored in db
  23. - 'F': filetype(form source), not stored in db only one term
  24. - 'C': course id