Re: Writing Solr Custom Components

2016-10-04 Thread Leonardo Foderaro
Hi John, if you're also interested in an experimental approach for a quick custom component prototyping, please take a look at my project Alba: https://github.com/leonardofoderaro/alba It allows you to create a new component just by adding a few annotations to a POJO. Please keep in mind it's sti

Re: Using dynamically calculated value for sorting

2015-09-29 Thread Leonardo Foderaro
Hi, please take a look at Alba, a framework which simplifies the development of new Solr plugins. You can write a plugin (e.g. custom function to be used to boost/sort your docs or a custom Response Writer) in literally five lines of code. More specifically I think these two examples could be usef

Re: How to reordering search result by some function query

2015-09-10 Thread Leonardo Foderaro
Hi Aman, if you want to sort/filter/boost on a custom function query please take a look at the Alba Framework, maybe it can be useful. For example, you can define a new function query (and then sort/filter/boost on it) simply by adding some annotations to your method, as explained in the wiki: ht

Introducing Alba, a small library to simplify Solr plugins development

2015-09-09 Thread Leonardo Foderaro
Hi everyone, this is my first post on this list and my first opensource project, so please don't expect too much from either of them. I've spent these last weeks trying to understand how to create Solr plugins, so I started a simple project (a plugin itself) which evolved into a small library nam