Professional Documents
Culture Documents
Lucene Assignment
Last Updated on 8 July 2011
Table of Contents
Summary ......................................................................................................................................................... 2
Deliverables ..................................................................................................................................................... 2
Document Set .................................................................................................................................................. 3
Students Testing Before Submission ............................................................................................................ 3
Index Structure ................................................................................................................................................ 3
Mandatory Features ........................................................................................................................................ 4
Test Queries .................................................................................................................................................... 4
Students Own Testing Before Submission.................................................................................................... 4
Summary
Deliverables
You should submit working code that implements the 7 mandatory features, in a packaged Web solution
in .war format.
Your code should adhere strictly to the following requirements; if not, we may deduct points or even decide
that your code does not work:
When we test your submission, we will use our own pre-built index. Therefore, your code should work
with the index structure specified in this document; in particular, use exactly the same field names.
Our index may reside in a different directory from yours. Your interface should include a text field for
specifying the index location. The index location should be passed to your Lucene code.
Document Set
C:\is414\Sample2\PlainText.txt
C:\is414\Sample2\PlainText2.txt
C:\is414\Sample2\RTF.rtf
C:\is414\Sample2\MSWord.doc
C:\is414\Sample2\HTML.html
C:\is414\Sample2\PDF.pdf
Index Structure
Field
Description
body
fileName
lastModifiedDate
Mandatory Features
All the features in the following sample GUI should be supported. Each feature is worth 1 mark. If any of our test
queries for a feature does not return the correct results, we will assign a zero score for that feature.
1
2
3
4
5
6
7
Refer to Lucene Javascript Query Constructor
Test Queries
Students Own Testing Before Submission
Queries
1
Results
1. C:\is414\Sample2\MSWord.doc
2. C:\is414\Sample2\PlainText.txt
3. C:\is414\Sample2\RTF.rtf
1. C:\is414\Sample2\HTML.html
1. C:\is414\Sample2\PlainText2.txt
2. C:\is414\Sample2\HTML.html
3. C:\is414\Sample2\PDF.pdf
1. C:\is414\Sample2\MSWord.doc
2. C:\is414\Sample2\RTF.rtf