Re: Different tokenizing algorithms for the same stream

2008-11-07 Thread Yoav Caspi
Thanks, Jerome. My problem is that in Token next(Token result) there is no information about the location inside the stream. I can read characters from the input Reader, but couldn't find a way to know if it's the beginning of the input or not. -J On Fri, Nov 7, 2008 at 6:13 AM, Jérôme Etévé <[E

Using score in FunctionQuery

2008-08-25 Thread Yoav Caspi
Hi, Is it possible to use Lucene similarity score in a FunctionQuery (in dismax boost function, for example) as part of a function? I would like to use a more complex boosting function, which uses more than simple boosting addition (for example a*score+b). Thanks