hm...try tat...but doesn't seems to be working for me though
Ahmet Arslan wrote:
>
>> I am trying to boost results that have all the query
>> in it to increase its ranking. But both the query unfortunately does not
>> > seems to effect it
>
> Did you read last two messages on this thread?
>
>
I am trying to boost results that have all the query in it to increase its
ranking. But both the query unfortunately does not seems to effect it
Ahmet Arslan wrote:
>
>> thanks for the suggestion, but unfortunately it does not
>> work.
>
> What are you trying to do? Both Adriano's and my query
thanks for the suggestion, but unfortunately it does not work ><
Ahmet Arslan wrote:
>
>> I am trying to build a query that looks like the
>> following:
>> url:(+news +politics)^1.5 content:(+news +politics)^2.0
>>
>> But I can't seems to find any reference to it. I try
>> hardcoding it like t
Hi,
I am trying to build a query that looks like the following:
url:(+news +politics)^1.5 content:(+news +politics)^2.0
But I can't seems to find any reference to it. I try hardcoding it like the
following:
BooleanQuery query = new BooleanQuery();
query.add(new TermQuery(new Term(field, "+news +
ou set them on every document.
>
> Index time document boosts (doc.setBoost(float)) are equivalent to
> setting a field boost on ever field in that document.
>
> (http://wiki.apache.org/lucene-java/LuceneFAQ#head-246300129b9d3bf73f597facec54ac2ee54e15d7)
>
> hope that helps t
Hi,
I am fairly new to Lucene and have encounter a problem with the search
function i am trying to create using Lucene. When I search, lets say "news
sharing", then the results return and display.
Its fine up to this point until I check the ranking. Some results, although
match only 1 of the 2
aybe better ways to do it).
>
> If that doesn't help, perhaps you could rephrase the question.
>
>
> --
> Ian.
>
>
> On Mon, Aug 3, 2009 at 10:51 AM, bourne71 wrote:
>>
>> Hey, thanks for the suggestion.
>> I think of performing 2 searches
merge/dedup the two lists of hits,
> keeping the ones from the first search at the top.
>
>
> --
> Ian.
>
> On Mon, Aug 3, 2009 at 4:14 AM, bourne71 wrote:
>>
>> Thanks for all the reply. It help me to understand problem better, but is
>> it
>> po
Thanks for all the reply. It help me to understand problem better, but is it
possible to create a query that will give additional boost to the results if
and only if both of the word is found inside the results. This will
definitely make sure that the results will be in the higher up of the list.
Hi, new here.
I recently started using lucene and had encounter a problem.I crawl and
index a number of documents.
When i perform a search, lets say "tall fat", by right the results that
matches all the keyword should be on top and display first.
But in my search results, some of the document
10 matches
Mail list logo