Can I simplify this bit of query boosting?
You might also want to have a look at FeatureField. This can be used to
associate a score with a particular term.
On Thu, May 11, 2023 at 1:13 PM Hrvoje Lončar wrote:
>
> I had a situation when i wanted to sort a list of articles based on
> the
You might also want to have a look at FeatureField. This can be used
to associate a score with a particular term.
On Thu, May 11, 2023 at 1:13 PM Hrvoje Lončar wrote:
>
> I had a situation when i wanted to sort a list of articles based on the
> amount of data entered. For example, article having
I had a situation when i wanted to sort a list of articles based on the
amount of data entered. For example, article having a photo, description,
ingredients should perform better comparing to one having only name and
photo.
For that purpose I created a numeric field that holds calculated value
nam
Hi, I've hit a wall here.
In brief, users search a library of documents. Every indexed document has a
version number field which is always populated for release notes, sometimes
for other docs. Every document also has a category field which is how
release notes are identified, among other conte
> thanks, I understand how boosting works, what I need will
> be a boost in the query that will increase the score of a page if all
> keywords/query is found in the page to increase its ranking.
You can find answer of your question in the last two messages at this thread:
http://www.nabble.com/G
sed
> for - this snippet from the wiki might help you:
>
> What is the difference between field (or document) boosting and query
> boosting?
>
> Index time field boosts (field.setBoost(boost)) are a way to express
> things like "this document's title is worth twice as m
d (or document) boosting and query boosting?
Index time field boosts (field.setBoost(boost)) are a way to express
things like "this document's title is worth twice as much as the title
of most documents". Query time boosts (query.setBoost(boost)) are a
way to express "I care abo
83647^1.5
Is there anyway I can add an additional query that will give an additional
boost to results that has both the keyword in it?
--
View this message in context:
http://www.nabble.com/Query-Boosting-tp24913967p24913967.html
Sent from the Lucene - Java
M
To: java-user@lucene.apache.org
Subject: Re: Clarity: Is there a Query boosting 50-50 over 1000-1 ?
Can you share your query generation code? Your description doesn't
make sense to me and I wonder how you are creating and running the
searches.
Can you run the explain() method on your documen
On Aug 29, 2008, at 7:53 AM, Sébastien Rainville wrote:
I'm curious... what do you mean by "It's not perfect (there is no such
thing) but it works pretty well in most cases, and works great if
you spend
a little time figuring out the right length normalization
factors." ? Can
you plz elabor
I'm curious... what do you mean by "It's not perfect (there is no such
thing) but it works pretty well in most cases, and works great if you spend
a little time figuring out the right length normalization factors." ? Can
you plz elaborate a little more on what are the length normalization factors
e
uery doing same thing since I'm still a new
user to Lucene.
Thank you in advance,
Shi Hui
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 5:57 AM
To: java-user@lucene.apache.org
Subject: Re: Clarity: Is there a Query boosting 50-50 ov
e,
Shi Hui
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2008 5:57 AM
To: java-user@lucene.apache.org
Subject: Re: Clarity: Is there a Query boosting 50-50 over 1000-1 ?
On Aug 27, 2008, at 7:34 PM, Shi Hui Liu wrote:
> Hi,
>
> I think
On Aug 27, 2008, at 7:34 PM, Shi Hui Liu wrote:
Hi,
I think I should clarify my question a little bit. I'm using
BooleanQuery to combine TermQuery(A) and TermQuery(B). But I'm not
satisfied with its scoring algorigthm. Is there other queries can
boost up the documents with 50 of A and 50
i Liu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2008 11:01 AM
To: java-user@lucene.apache.org
Subject: Is there a Query boosting 50-50 over 1000-1 ?
Hi,
Say, I have a query with two terms: A + B, I want to return the documents with
50 of A and 50 of B on top of documents with 1000 of A and
Hi,
Say, I have a query with two terms: A + B, I want to return the documents with
50 of A and 50 of B on top of documents with 1000 of A and 1 of B. Is there an
existing Query class can handle this case or I have to implement a new Query?
Thank you,
Shi Hui
ime field/document boosts won't work --
but if you aren't concerned about those things, it will help keep your
index size managable.
: Currently I was using query boosting extensive for the headings in HTML
: documents, e.g. title:(term)^8 h1:(term)^7 ... h6:(term)^2
: content:(term)^1 . I
key
"project1" and add the new documents completely but not touching other
projects.
- From what I read from the documentation, as long as I would call
optimized() after every batch of change it should be ok.
2) Query boosting
Currently I was using query boosting extensive for the h
18 matches
Mail list logo