Thanks to everyone, I feel I'm getting somewhere, but not quite there yet. I
currently have the below in my pom. When I change my import to: 
import org.apache.lucene.queryparser.classic.QueryParser;
Eclipse says it can't find "org.apache.lucene.queryparser" however, the
maven installer has no such issue. 

The maven installer, does however have an issue with this line:
Analyzer analyzer = new StandardAnalyzer();
It says: 
cannot find symbol
symbol  : constructor StandardAnalyzer()
location: class org.apache.lucene.analysis.standard.StandardAnalyzer
Even though I have the import:
import org.apache.lucene.analysis.standard.StandardAnalyzer;
Which Eclipse has no issue with. 

I've cleaned my project and restarted Eclipse with no improvement to the
differences shown by Eclipse and Maven. Any help much appreciated!

Pom dependencies:
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
            <version>4.0.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-analyzers-common</artifactId>
            <version>4.0.0</version>
            <scope>provided</scope>
        </dependency>        
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-queryparser</artifactId>
            <version>4.0.0</version>
            <scope>provided</scope>
        </dependency>



--
View this message in context: 
http://lucene.472066.n3.nabble.com/looking-for-package-org-apache-lucene-analysis-standard-tp4028789p4033104.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to