Re: Using Payloads as a Coefficient For Score At a Custom QParser That extends ExtendedDismaxQParser

2013-12-01 Thread Furkan KAMACI
Second link is that: http://digitalpebble.blogspot.com/2010/08/using-payloads-with-dismaxqparser-in.html 2013/12/1 Furkan KAMACI > Hi; > > I use Solr 4.5.1 I have a case: When a user searches for some specific > keywords some documents should be listed at much more higher than its usual > score

Re: Using Payloads

2009-04-27 Thread liat oren
Thanks a lot! I will deffenitely will go thoroughly over these 2009/4/27 Murat Yakici > See http://wiki.apache.org/lucene-java/ImproveIndexingSpeed > and http://wiki.apache.org/lucene-java/ImproveSearchingSpeed > and http://wiki.apache.org/lucene-java/ConcurrentAccessToIndex > > Murat Yakici > D

Re: Using Payloads

2009-04-27 Thread Murat Yakici
See http://wiki.apache.org/lucene-java/ImproveIndexingSpeed and http://wiki.apache.org/lucene-java/ImproveSearchingSpeed and http://wiki.apache.org/lucene-java/ConcurrentAccessToIndex Murat Yakici Department of Computer & Information Sciences University of Strathclyde Glasgow, UK

Re: Using Payloads

2009-04-27 Thread liat oren
Yes, I agree with you - I also tried this approach in the past and it was terribely slow - looping on the term vectors. What I have done - is dividing indexes into steps - which of course, if can be avoided, it will be more than great!! As for my problem - it was a code problems, I sloved it, th

Re: Using Payloads

2009-04-26 Thread Murat Yakici
See my comments: > Yes, for this specific part, I have this prior knowledge which is based on > a > training set. > About the things you raise here, there are two things you might mean, I am > not sure: > > 1. If you don't have that "prior" knowledge, then all it means you need to > modify the f

Re: Using Payloads

2009-04-26 Thread liat oren
Yes, for this specific part, I have this prior knowledge which is based on a training set. About the things you raise here, there are two things you might mean, I am not sure: 1. If you don't have that "prior" knowledge, then all it means you need to modify the formula of the score, no? to give mo

Re: Using Payloads

2009-04-26 Thread Murat Yakici
Yes, this is more or less what I had in mind. However, for this approach one requires some *prior knowledge* of the vocabulary of the document (or the collection) to produce that score before even it gets analyzed, isn't it? And this is the paradox that I have been thinking. If you have that knowl

Re: Using Payloads

2009-04-26 Thread liat oren
Thanks, Murat. It was very useful - I also tried to override IndexWriter and DocumentsWriter instead, but it didn't work well. DocumentsWriter can't be overriden. So, I didn't find a better way to make the changes. My needs are having for every term in different documents different values. So, l

Re: Using Payloads

2009-04-25 Thread Murat Yakici
Here is what I am doing, not so magical... There are two classes, an analyzer and an a TokenStream in which I can inject my document dependent data to be stored as payload. private PayloadAnalyzer panalyzer = new PayloadAnalyzer(); private class PayloadAnalyzer extends Analyzer {

Re: Using Payloads

2009-04-23 Thread liat oren
Dear Murat, I saw your question and wondered how did you implement these changes? The requirement below are the same ones as I am trying to code now. Did you modify the source code itself or only used Lucene's jar and just override code? I would very much apprecicate if you could give me a short

Re: Using Payloads

2009-04-22 Thread Murat Yakici
No, just checking. I will let you everyone know I see one. Cheers, Murat > > On Apr 21, 2009, at 4:39 AM, Murat Yakici wrote: > >> Hi, >> I started playing with the experimental payload functionality. I >> have written an analyzer which adds a payload (some sort of a score/ >> boost) for each te

Re: Using Payloads

2009-04-22 Thread Grant Ingersoll
On Apr 21, 2009, at 4:39 AM, Murat Yakici wrote: Hi, I started playing with the experimental payload functionality. I have written an analyzer which adds a payload (some sort of a score/ boost) for each term occurance. The payload/score for each term is dependent on the document that the t