After some more digging I was able to find a solution.

http://lucy.apache.org/docs/perl/Lucy/Docs/Cookbook/CustomQuery.html


On Apr 16, 2013, at 4:36 PM, "Miller, Benjamin" <[email protected]>
 wrote:

> I am having some issues implementing a PrefixQuery.
> 
> I used the source 
> https://github.com/apache/lucy/blob/master/perl/sample/PrefixQuery.pm as a 
> template but have had multiple issues.  First, this package references Tally 
> (doesn't exist).  I removed Tally and then i can't sort by score.  It also 
> does not handle multiple fields.  
> 
> Is there a simple and clean way to do term  prefix matching?
> 
> My question on stack overflow:
> http://stackoverflow.com/questions/16045948/how-to-do-a-prefix-query-in-apache-lucy-with-perl
> 
> Ben

Reply via email to