On Jun 25, 2005, at 5:13 PM, John Fereira wrote:
At 02:42 PM 6/25/2005 +0200, Daniel Naber wrote:
On Saturday 25 June 2005 13:59, John Fereira wrote:
> Was there someplace that I should have looked to determine that
> qp.parse(String) would call the non-static method but qp.parse
(String,
At 02:42 PM 6/25/2005 +0200, Daniel Naber wrote:
On Saturday 25 June 2005 13:59, John Fereira wrote:
> Was there someplace that I should have looked to determine that
> qp.parse(String) would call the non-static method but qp.parse(String,
> String, Analyzer) would not?
Your IDE should have war
On Jun 25, 2005, at 7:59 AM, John Fereira wrote:
Aha! Look at the method signature of your parse() call. That is the
culprit. To call the non-static method so that you use the
*instance* of QueryParser rather than the default settings, change to
this:
query = qp.parse(searchterms);
Th
On Saturday 25 June 2005 13:59, John Fereira wrote:
> Was there someplace that I should have looked to determine that
> qp.parse(String) would call the non-static method but qp.parse(String,
> String, Analyzer) would not?
Your IDE should have warned you about that. If it didn't, try Eclipse.
Reg
At 03:42 PM 6/24/2005 -0400, you wrote:
On Jun 24, 2005, at 2:54 PM, John Fereira wrote:
Last month there was a brief thread about changing the implicit
conjuction for search terms from an OR to AND with a response that
the API provides a setOperator method for doing so.
A site I am developi
On Jun 24, 2005, at 2:54 PM, John Fereira wrote:
Last month there was a brief thread about changing the implicit
conjuction for search terms from an OR to AND with a response that
the API provides a setOperator method for doing so.
A site I am developing also required that "AND" be the i
Last month there was a brief thread about changing the implicit conjuction
for search terms from an OR to AND with a response that the API provides a
setOperator method for doing so.
A site I am developing also required that "AND" be the implicit conjuction
so I've tried changing that using