lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elias Khsheibun" <eli...@gmail.com>
Subject RE: Payloads
Date Sat, 19 Dec 2009 16:54:09 GMT
Let's say I have a document that contains the following text:

"Graph Algorithms is one of the most important topics in computer science"

And a query "!Graph Algorithms" then the term Graph in the query should have
a double weight because the offset of Graph is 0 (and it is even) - we apply
this doubling of weight only if a '!' operator precedes the term and if its
offset from the document is even.


-----Original Message-----
From: AHMET ARSLAN [mailto:iorixxx@yahoo.com] 
Sent: Saturday, December 19, 2009 6:48 PM
To: java-user@lucene.apache.org
Subject: RE: Payloads

> I want to override the operator - it
> is for a project purpose.

Can you explain your requirements more? What do you mean by "an even offset
of the document"?


      

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


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