lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Refactoring suggestion for query parsing and creation
Date Mon, 07 Feb 2005 21:10:02 GMT
The MockObjects dependency is fine with me - it is a nice way to unit 
test for sure.  The important thing is that it is Apache Software 
Licensed, which MO is.

	Erik



On Feb 7, 2005, at 3:33 PM, Matthew Denner wrote:

> On Monday 07 February 2005 19:19, Daniel Naber wrote:
>> On Monday 07 February 2005 17:56, Matthew Denner wrote:
>>> QueryParser parser =
>>>   new QueryParser(
>>>     "description",
>>>     new StandardAnalyzer(),
>>>     new SpecialQueryFactory(new QueryFactoryImpl()));
>>
>> This sounds interesting, could you create a bug report (see "Lucene 
>> Bugs"
>> on the homepage) and then attach your patch?
>
> I will do this I just need to finish off the unit-tests and work the 
> changes
> into the QueryParser.jj file (I did them directly on the Java source). 
>  Would
> anyone mind if I added the MockObjects (http://www.mockobjects.com/) 
> JAR as a
> dependency as it makes testing the LowerCaseQueryFactory and
> MultiFieldQueryFactory implementations slightly easier?
>
> Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message