Update TextSearchServlet.java

Fixing the typo that Field.date method doesn't exist