Hi,
I've a small program which opens a nutch index and performs searches.
While indexing, I've added a new field "myfield" in every document.
Now whenever I try to call addRequiredField to the Query object, it
throws the error
at runtime that: Field "myfield" is not known
I've been told that Query.parse() needs to know all the supported fields
in advance and I can
mention that in the plugin.xml
But the issue is that I'm not using a plugin to search, I've written a
small search program which opens the index and
searches. So where can I tell Query.parse() about my field "myfield" ?
I'm new to Nutch and I'm unable to solve it by myself.
Please help
Thanks
Jeet Singh