> https://bitbucket.org/dermotte/liresolr

The LIRE Solr integration uses a value source, which can then be used as
a sort function. However, if I want to implement both sorting by image
similarity *and* discarding docs with dissimilar images above some
custom threshold (while retaining proper facet counts), I would have to
do something like:

  q=category:123&fq={!frange l=0.0 u=100.0 cache=false
cost=1000}lirefunc(cl, "WHATEVERFEATUREVECTOR")&sort=lirefunc(cl,
"WHATEVERFEATUREVECTOR")+asc

So unless I am mistaken, I would end up evaluating feature vectors
TWICE, which is what I'm trying to avoid, as I wrote in my original post.

Cheers, Patrick

On 10/13/2014 05:41 PM, Shawn Heisey wrote:
> On 10/13/2014 9:04 AM, Patrick Schemitz wrote:
>> I'm trying to implement an image similarity search using Solr 4.6.1.
> 
> You're inventing a wheel that has already been done a couple of times. 
> This does not necessarily mean that you need to give up on your
> implementation, but it does mean you need to have the right reasons for
> continuing.  This might even be good news for you, because you know that
> it *is* possible.
> 
> There's one commercial solution that I know of (supporting up to Solr
> 4.9), and one that's open source:
> 
> http://www.pixolution.de/
> https://bitbucket.org/dermotte/liresolr
> 
> The company where I work has pixolution integrated into Solr.  Test
> queries look really good, but we haven't yet integrated it into anything
> that faces our users.  I haven't tried the open source solution.
> 
> Thanks,
> Shawn
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to