lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Standa Opichal" <opich...@seznam.cz>
Subject field search problems
Date Wed, 01 Mar 2006 19:44:45 GMT
Hi!

I have just downloaded the 1.9 release. Put the provided .war file to my
Tomcat install
and successfully created the index which I am able to query. All that in few
minutes.
I must say this is great achievement from user point of view.

However as I have read the tutorial and attempted to use the field search I
cannot
make it return relevant hits. This is also true no matter what client I use
(tomcat
deployed .war file or the demo command line)

Please see the outputs below and advice what am I doing wrong.

Best Regards

Standa


lucene-1.9-final>java -cp
lucene-demos-1.9-final.jar;lucene-core-1.9-final.jar
org.apache.lucene.demo.IndexFiles src
Indexing to directory 'index'...
adding src\demo\org\apache\lucene\demo\DeleteFiles.java
adding src\demo\org\apache\lucene\demo\FileDocument.java
adding src\demo\org\apache\lucene\demo\html\Entities.java
adding src\demo\org\apache\lucene\demo\html\HTMLParser.java
adding src\demo\org\apache\lucene\demo\html\HTMLParser.jj
adding src\demo\org\apache\lucene\demo\html\HTMLParserConstants.java
adding src\demo\org\apache\lucene\demo\html\HTMLParserTokenManager.java
adding src\demo\org\apache\lucene\demo\html\ParseException.java
adding src\demo\org\apache\lucene\demo\html\ParserThread.java
adding src\demo\org\apache\lucene\demo\html\SimpleCharStream.java
adding src\demo\org\apache\lucene\demo\html\Tags.java
adding src\demo\org\apache\lucene\demo\html\Test.java
adding src\demo\org\apache\lucene\demo\html\Token.java
adding src\demo\org\apache\lucene\demo\html\TokenMgrError.java
adding src\demo\org\apache\lucene\demo\HTMLDocument.java
adding src\demo\org\apache\lucene\demo\IndexFiles.java
adding src\demo\org\apache\lucene\demo\IndexHTML.java
adding src\demo\org\apache\lucene\demo\SearchFiles.java
adding src\jsp\configuration.jsp
adding src\jsp\footer.jsp
adding src\jsp\header.jsp
adding src\jsp\index.jsp
adding src\jsp\README.txt
adding src\jsp\results.jsp
adding src\jsp\WEB-INF\web.xml
Optimizing...
1111 total milliseconds

lucene-1.9-final>java -cp
lucene-demos-1.9-final.jar;lucene-core-1.9-final.jar
org.apache.lucene.demo.SearchFiles
Query: path:jsp
Searching for: path:jsp
0 total matching documents
Query: HTML path:jsp
Searching for: html path:jsp
5 total matching documents
1. src\jsp\footer.jsp
2. src\jsp\header.jsp
3. src\demo\org\apache\lucene\demo\IndexHTML.java
4. src\demo\org\apache\lucene\demo\HTMLDocument.java
5. src\jsp\results.jsp
Query: HTML path:"-jsp"
Searching for: html path:jsp
5 total matching documents
1. src\jsp\footer.jsp
2. src\jsp\header.jsp
3. src\demo\org\apache\lucene\demo\IndexHTML.java
4. src\demo\org\apache\lucene\demo\HTMLDocument.java
5. src\jsp\results.jsp
Query:


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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


Mime
View raw message