lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alice" <>
Subject RE: Customized Analyzer
Date Wed, 06 Dec 2006 11:10:59 GMT
I'm sorry, I'm not sure about what you're asking me to post, anyway here is
my junit test:

protected void setUp() throws Exception
        access = ServiceLocator.getAccess();

public void testSearch() throws Exception
        String keyword = "wind";
        Collection<ProductDTO> products =
        System.out.println(products.size() + " products found:");
        for(ProductDTO product : products)
            System.out.println(product.getName() + " " +

-----Original Message-----
From: Chris Hostetter [] 
Sent: terça-feira, 5 de dezembro de 2006 20:54
To: Lucene Users
Subject: RE: Customized Analyzer

As stated before, a *self contained* test case would help people diagnose
your problem ... just cutting and pasting a few snippets of your code is
not enough for people to reproduce your problem.

: And the return is: contents:"(wind window)"

a MultiPhraseQuery that looks like that should be functionally equivilent
to a BooleanQuery .. as a matter of fact, it will rewrite to a
BooleanQuery ... does a straight search on either "wind" or "window"
return any results for you?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message