LIRE Solr plugin updated to 4.10.2 and new demo ...

2014-12-17 Thread Mathias Lux
based search utilizing the standard handler but scoring with a funtcion (it's slower, but more flexible). Feel free to test it and let me know what you think :) http://demo-itec.uni-klu.ac.at/liredemo/ cheers, Mathias -- Priv.-Doz. Dr. Dipl.-Ing. Mathias Lux Associate Professor at

Re: DataImport Handler, writing a new EntityProcessor

2013-12-19 Thread Mathias Lux
e insight about this kind of Solr plugin and > testing them. > > Cheers, > Tricia > > > > > On Wed, Dec 18, 2013 at 3:03 AM, Mathias Lux wrote: > >> Hi all! >> >> I've got a question regarding writing a new EntityProcessor, in the >> same

Re: DataImport Handler, writing a new EntityProcessor

2013-12-18 Thread Mathias Lux
11 > > > -Original Message- > From: mathias@gmail.com [mailto:mathias@gmail.com] On Behalf Of > Mathias Lux > Sent: Wednesday, December 18, 2013 4:04 AM > To: solr-user@lucene.apache.org > Subject: DataImport Handler, writing a new EntityProcessor > >

DataImport Handler, writing a new EntityProcessor

2013-12-18 Thread Mathias Lux
Mathias [1] LireEntityProcessor http://pastebin.com/JFajkNtf [2] dataConfig http://pastebin.com/vSHucatJ -- Dr. Mathias Lux Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Re: Query & result caching with custom functions

2013-11-24 Thread Mathias Lux
eSource it should > solve your caching issue. Also implement hashCode(). > > Joel > > > On Thu, Oct 24, 2013 at 10:35 AM, Shawn Heisey wrote: > >> On 10/24/2013 5:35 AM, Mathias Lux wrote: >> > I've written a custom function, which is able to provide a distance

Re: Query & result caching with custom functions

2013-10-24 Thread Mathias Lux
) method on the ValueSource it should > solve your caching issue. Also implement hashCode(). > > Joel > > > On Thu, Oct 24, 2013 at 10:35 AM, Shawn Heisey wrote: > > > On 10/24/2013 5:35 AM, Mathias Lux wrote: > > > I've written a custom function, which is ab

Query & result caching with custom functions

2013-10-24 Thread Mathias Lux
ounteract? btw. I'm using Solr 4.4 (so if you are aware of the issue and it has been resolved in 4.5 I'll port it :) The code I'm using is at https://bitbucket.org/dermotte/liresolr regards, Mathias -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Re: Re-Ranking results based on DocValues with custom function.

2013-09-18 Thread Mathias Lux
p;sort=strdist%28name,FQY5DhMYDg0ODg0PEBEPDg4ODg8QEgsgEBAQEBAgEBAQEBA=,jw%29+asc > > but if i quote the string literal it works fine... > > http://localhost:8983/solr/select?q=*:*&sort=strdist%28name,%27FQY5DhMYDg0ODg0PEBEPDg4ODg8QEgsgEBAQEBAgEBAQEBA=%27,jw%29+asc > > > > -Hoss -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Re: Scoring by document size

2013-09-17 Thread Mathias Lux
>> query >> than doc2, which is more similar than doc3, ...). >> >> All the documents are retrieved (OK), but the scores are like this: >> >> *doc1 = 2,590214 >> doc2 = 2,590214* >> doc3 = 2,266437 >> *doc4 = 1,94266 >> doc5 = 1,94266*

Re: Re-Ranking results based on DocValues with custom function.

2013-09-17 Thread Mathias Lux
} > } > > and then register it as... > > > > > depending on your needs, you may also want to write a custom ValueSource > implementation (ie: instead of DivFloatFunction above) in which case, > again, the best examples to look at are all of the existing ValueSource > functions... > > https://lucene.apache.org/core/4_4_0/queries/org/apache/lucene/queries/function/ValueSource.html > > > -Hoss -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Re-Ranking results based on DocValues with custom function.

2013-09-16 Thread Mathias Lux
mo of the current system is available at: http://demo-itec.uni-klu.ac.at/liredemo/ -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

Re: Is there a way to store binary data (byte[]) in DocValues?

2013-08-12 Thread Mathias Lux
PL-ed) source online at the end of September (as module of LIRE), after some stress tests, documentation and further bug fixing. cheers, Mathias On Mon, Aug 12, 2013 at 4:51 PM, Robert Muir wrote: > On Mon, Aug 12, 2013 at 8:38 AM, Mathias Lux wrote: >> Hi! >> >> I&

Re: Is there a way to store binary data (byte[]) in DocValues?

2013-08-12 Thread Mathias Lux
expense > of some storage overhead. > > > On Mon, Aug 12, 2013 at 2:38 PM, Mathias Lux wrote: > >> Hi! >> >> I'm basically searching for a method to put byte[] data into Lucene >> DocValues of type BINARY (see [1]). Currently only primitives and >>

Is there a way to store binary data (byte[]) in DocValues?

2013-08-12 Thread Mathias Lux
[1] http://wiki.apache.org/solr/DocValues -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec

DocValues for byte[] ... or a common codec for "selected fields"

2013-08-08 Thread Mathias Lux
Values? cheers, Mathias -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec