Ralf:
Here's an end-to-end Payloads example you can use to compare, although
it sounds like you've already figured out your immediate problem..
https://lucidworks.com/blog/end-to-end-payload-example-in-solr/
Best,
Erick
On Thu, Oct 30, 2014 at 1:24 PM, Ralf Bierig wrote:
> Found it! I used ano
Found it! I used another class that was was still using old code. My bad!
Thanks anyway,
Ralf
On 30.10.2014 20:53, Michael Sokolov wrote:
That's a lot of code to eyeball. Have you tried printing out the input
data as you are indexing it (just at doc.add)? I am guessing there is
some simple va
Found it! I used another class that was was still using old code. My bad!
Thanks anyway,
Ralf
On 30.10.2014 20:53, Michael Sokolov wrote:
That's a lot of code to eyeball. Have you tried printing out the input
data as you are indexing it (just at doc.add)? I am guessing there is
some simple va
That's a lot of code to eyeball. Have you tried printing out the input
data as you are indexing it (just at doc.add)? I am guessing there is
some simple variable aliasing issue that I don't see at a glance ...
-Mike
On 10/30/14 2:03 PM, Ralf Bierig wrote:
I want to implement a Lucene Indexer
I want to implement a Lucene Indexer/Searcher that uses the new Payload
feature to add meta information to tokens. I specifically add weights
(i.e. 0-100) to conceptual tags in order to use them to overwrite the
standard Lucene TF-IDF weighting. I am puzzled by the behaviour of this
and I belie
: "how do i set the score of each document result to be the score of that
: of the field that best matches the search terms"?
you'll want something like this psuedo code...
DisjunctionMaxQuery dq = new DMQ
foreach fieldname in list_of_fields {
BooleanQuery bq = new BQ
foreach word in l
I suppose this could be summarised as:
"how do i set the score of each document result to be the score of that
of the field that best matches the search terms"?
-Original Message-
From: Joel Halbert
Reply-To: java-user@lucene.apache.org
To: Lucene Users
Subject: similarit
Hi,
Given a query with multiple terms, e.g. fish oil, and searching across
multiple fields e.g.
query= fieldA:fish fieldA:oil fieldB:fish fieldB:oil etc...
I don't want to give any more weight to documents that match the same
word multiple times (either in the same, or different fields). I am
y work, I have read an article stating that " Answer type can be
>> automatically constructed by Indexing Different Questions and Answer
>> types. Later, when an unseen question apears, answer type for this
>> question will be found with the help of 'similarity function'
le stating that " Answer type can be
automatically constructed by Indexing Different Questions and Answer
types. Later, when an unseen question apears, answer type for this
question will be found with the help of 'similarity function'
computation"
so I am clear with the arguemen
Mohammed wrote:
> For my work, I have read an article stating that " Answer type can be
> automatically constructed by Indexing Different Questions and Answer
> types. Later, when an unseen question apears, answer type for this
> question will be found with the help of
For my work, I have read an article stating that " Answer type can be
automatically constructed by Indexing Different Questions and Answer
types. Later, when an unseen question apears, answer type for this
question will be found with the help of 'similarity function'
computation&
Sorry the delay.
But, what I want to do is to change the terms weigth, I don´t want that
terms weight be the frecuency the term appear in the document intead of that
I want it to be another special measure and with that change the similarity
function.
I don´t know how to change the terms weight in
other words, it can be as complex as you want it to be...
-Grant
On Sep 24, 2007, at 5:24 PM, Ariel wrote:
Hi every body:
I would like to know how to change the similarity function of
lucene to
extends the posibilities of searching and make it more powefull. Have
somebody made this before
Hi every body:
I would like to know how to change the similarity function of lucene to
extends the posibilities of searching and make it more powefull. Have
somebody made this before ?
Could you help me please ? I don't know how complex might be this.
I hope you can help me.
Greetings
Ariel
15 matches
Mail list logo