try to construct a query like :
BooleanQuery mainquery = new BooleanQuery();
BooleanQuery query1 = new BooleanQuery();
BooleanQuery query2 = new BooleanQuery();
BooleanQuery query3 = new BooleanQuery();
queryParser = new QueryParser("title", new StandardAnalyzer());
query1 = queryParser.parse(
Hi,
Merry Christmas and a Happy New Year to you all.
I have an index with few fields. Title, Description, Author etc.
For a search query "business development", the equivalent lucene query I
build is:
*(TITLE: business^9.00 OR AUTHOR: business^3.00 OR
DESCRIPTION:business^1.00) AND (TITLE: devel
Shouldn't your analyzer also convert "Rochelle Rochelle" to "Rochelle" ?
paul
Le 25-déc.-08 à 14:20, Israel Tsadok a écrit :
A recurring problem I have with Lucene results is when a document
contains
the same word over and over again. If for some reason I have a
document
containing "badger
Ahhh.
You just saved me a gazillion hours of work.
Check out my Lucene enabled
service-to-the-world-hope-we-all-get-along-better site.
http://BahaiResearch.com
Thanks!
Ian
On Wed, Dec 24, 2008 at 9:59 AM, Erick Erickson wrote:
> You're really, really playing with fire here. Your document I
Which of these is the better practice:
myTitle = luceneDocment.GetField("title").StringValue();
or
myTitle = luceneDocment.Get("title");
Thanks in advance.
Ian
A recurring problem I have with Lucene results is when a document contains
the same word over and over again. If for some reason I have a document
containing "badger badger badger badger badger badger badger badger", it
would appear high on the search results for "badger", even though it's
usually
AUTOMATIC REPLY
LUX is closed until 5th January 2009
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
AUTOMATIC REPLY
LUX is closed until 5th January 2009
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Hi,
I am new to lucene. I am trying to build term clusters based on the results
returned by a query. Is there any way I can get terms of resulted documents
and their scores?
Thanks,
shahid