lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lu" <chris...@gmail.com>
Subject factor in stopwords when searching
Date Sat, 22 Mar 2008 01:20:52 GMT
Let's say "the" is considered stopword. And for example two documents are
document A, content: "... search the database..."
document B, content: "... search database..."

So when the user's input is "search the database", searching with
query content:"search database"~1 can return both.
But is there any way to translate that into a query that can rank the
document A higher than document B?

Thanks!

-- 
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
DBSight customer, a shopping comparison site, (anonymous per request)
got 2.6 Million Euro funding!

---------------------------------------------------------------------
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