Re: Getting Solr Document Attributes from a Custom Function

2013-12-12 Thread Mukundaraman valakumaresan
, it rather defeats the entire point of the > >>>> inverted index data structure. If you help us understand what your > >> goal > >>>> is, people may be able to offer performant suggestions. > >>>> > >>>> https://people.

Re: Getting Solr Document Attributes from a Custom Function

2013-12-11 Thread Kydryavtsev Andrey
er performant suggestions. >>>> >>>>   https://people.apache.org/~hossman/#xyproblem >>>>   XY Problem >>>> >>>>   Your question appears to be an "XY Problem" ... that is: you are >>  dealing >>>>   with "X&

Re: Getting Solr Document Attributes from a Custom Function

2013-12-10 Thread Mukundaraman valakumaresan
> > >> Your question appears to be an "XY Problem" ... that is: you are > dealing > >> with "X", you are assuming "Y" will help you, and you are asking about > "Y" > >> without giving more details about the "X" so t

Re: Getting Solr Document Attributes from a Custom Function

2013-12-09 Thread Kydryavtsev Andrey
uot;X" so that we can understand the >>  full issue.  Perhaps the best solution doesn't involve "Y" at all? >>  See Also: http://www.perlmonks.org/index.pl?node_id=542341 >> >>  : Date: Mon, 9 Dec 2013 20:24:15 +0530 >>  : From: Mukundaraman valaku

Re: Getting Solr Document Attributes from a Custom Function

2013-12-09 Thread Mukundaraman valakumaresan
> : Date: Mon, 9 Dec 2013 20:24:15 +0530 > : From: Mukundaraman valakumaresan > : Reply-To: solr-user@lucene.apache.org > : To: solr-user@lucene.apache.org > : Subject: Getting Solr Document Attributes from a Custom Function > : > : Hi All, > : > : I have a written a custom solr

Re: Getting Solr Document Attributes from a Custom Function

2013-12-09 Thread Chris Hostetter
www.perlmonks.org/index.pl?node_id=542341 : Date: Mon, 9 Dec 2013 20:24:15 +0530 : From: Mukundaraman valakumaresan : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Getting Solr Document Attributes from a Custom Function : : Hi All, : : I have a written a

Getting Solr Document Attributes from a Custom Function

2013-12-09 Thread Mukundaraman valakumaresan
Hi All, I have a written a custom solr function and I would like to read a property of the document inside my custom function. Is it possible to get that using Solr? For eg. inside the floatVal method, I would like to get the value of the attribute "name" public class CustomValueSource extends V