Re: Document boost in Solr

2015-11-15 Thread Andrea Open Source
Hi Aditya,
Looking at the explanation seems that you have a 50.0 boost applied on your 
PRODUCT_TITLE field, 1.5 applied to your PRODUCT_CONTENT field and then you 
have a phrase query with slop 10 and boost 50 on title and boost 1.5 on 
content. In your question you talk about using "rank" as document boost but 
from this query is not clear as I am not sure what those 1.5 and 50.0 come from.

King Regards,
Andrea Roggerone

> On 15/nov/2015, at 06:21, Aditya  wrote:
> 
> Hi
> 
> I am able to analyse the score using http://explain.solr.pl/
> 
> Score of 1st record:
>100% 27.12627 sum of the following:
>33.47% 9.078974 sum of the following:
>19.34% 5.2460585 (MATCH) max of:
>19.34% 5.2460585 PRODUCT_TITLE:machin^50.0
>- 0.37926888 PRODUCT_CONTENT:machin^1.5
>14.13% 3.8329153 (MATCH) max of:
>14.13% 3.8329153 PRODUCT_TITLE:learn^50.0
>- 0.28544438 PRODUCT_CONTENT:learn^1.5
>66.53% 18.047297 (MATCH) max of:
>66.53% 18.047297 PRODUCT_TITLE:"machin learn"~10^50.0
>- 1.3227714 PRODUCT_CONTENT:"machin learn"~10^1.5
> Score of 14th record. This supposed to come in less than 10.
> 100% 14.135922 sum of the following:
>35.52% 5.0206614 sum of the following:
>18.74% 2.6496599 (MATCH) max of:
>18.74% 2.6496599 PRODUCT_TITLE:machin^50.0
>- 0.22348635 PRODUCT_CONTENT:machin^1.5
>16.77% 2.3710015 (MATCH) max of:
>16.77% 2.3710015 PRODUCT_TITLE:learn^50.0
>- 0.18167646 PRODUCT_CONTENT:learn^1.5
>64.48% 9.115261 (MATCH) max of:
>64.48% 9.115261 PRODUCT_TITLE:"machin learn"~10^50.0
>- 0.7794506 PRODUCT_CONTENT:"machin learn"~10^1.5
> 
> How can I analyse whether the document boost is applied or not.
> 
> Regards
> Aditya
> 
> 
> On Sat, Nov 14, 2015 at 8:49 PM, Aditya 
> wrote:
> 
>> I am not able to understand the debug information.
>> 
>> Any specific parameter to look for?
>> 
>> Regards
>> Aditya
>> 
>> On Sat, Nov 14, 2015 at 6:42 PM, Alexandre Rafalovitch >> wrote:
>> 
>>> Did you try using debug.explain.other and seeing how it is ranked?
 On 14 Nov 2015 6:28 am, "Aditya"  wrote:
 
 Hi
 
 My website www.findbestopensource.com provides search over millions of
 open
 source projects.
 
 I recently found this issue in my website. Each project will have its
 description and rank and other set of fields. Rank is set as document
 boost, so that when user performs a search, high ranked projects should
 appear first.
 
 It was working fine with previous versions of Solr. Some time back I
>>> moved
 to 4.10 and after that I am facing this issue. I added a high ranked
 project and when I did a search the project is not showing up in the
>>> search
 results. It is showing the results which were added in older versions of
 Solr.
 
 I am using Solr 4.10  and using Solrj library.
 
 Regards
 Aditya
>> 
>> 


Re: Document boost in Solr

2015-11-14 Thread Aditya
Hi

I am able to analyse the score using http://explain.solr.pl/

Score of 1st record:
100% 27.12627 sum of the following:
33.47% 9.078974 sum of the following:
19.34% 5.2460585 (MATCH) max of:
19.34% 5.2460585 PRODUCT_TITLE:machin^50.0
- 0.37926888 PRODUCT_CONTENT:machin^1.5
14.13% 3.8329153 (MATCH) max of:
14.13% 3.8329153 PRODUCT_TITLE:learn^50.0
- 0.28544438 PRODUCT_CONTENT:learn^1.5
66.53% 18.047297 (MATCH) max of:
66.53% 18.047297 PRODUCT_TITLE:"machin learn"~10^50.0
- 1.3227714 PRODUCT_CONTENT:"machin learn"~10^1.5

Score of 14th record. This supposed to come in less than 10.
100% 14.135922 sum of the following:
35.52% 5.0206614 sum of the following:
18.74% 2.6496599 (MATCH) max of:
18.74% 2.6496599 PRODUCT_TITLE:machin^50.0
- 0.22348635 PRODUCT_CONTENT:machin^1.5
16.77% 2.3710015 (MATCH) max of:
16.77% 2.3710015 PRODUCT_TITLE:learn^50.0
- 0.18167646 PRODUCT_CONTENT:learn^1.5
64.48% 9.115261 (MATCH) max of:
64.48% 9.115261 PRODUCT_TITLE:"machin learn"~10^50.0
- 0.7794506 PRODUCT_CONTENT:"machin learn"~10^1.5

How can I analyse whether the document boost is applied or not.

Regards
Aditya


On Sat, Nov 14, 2015 at 8:49 PM, Aditya 
wrote:

> I am not able to understand the debug information.
>
> Any specific parameter to look for?
>
> Regards
> Aditya
>
> On Sat, Nov 14, 2015 at 6:42 PM, Alexandre Rafalovitch  > wrote:
>
>> Did you try using debug.explain.other and seeing how it is ranked?
>> On 14 Nov 2015 6:28 am, "Aditya"  wrote:
>>
>> > Hi
>> >
>> > My website www.findbestopensource.com provides search over millions of
>> > open
>> > source projects.
>> >
>> > I recently found this issue in my website. Each project will have its
>> > description and rank and other set of fields. Rank is set as document
>> > boost, so that when user performs a search, high ranked projects should
>> > appear first.
>> >
>> > It was working fine with previous versions of Solr. Some time back I
>> moved
>> > to 4.10 and after that I am facing this issue. I added a high ranked
>> > project and when I did a search the project is not showing up in the
>> search
>> > results. It is showing the results which were added in older versions of
>> > Solr.
>> >
>> > I am using Solr 4.10  and using Solrj library.
>> >
>> > Regards
>> > Aditya
>> >
>>
>
>


Re: Document boost in Solr

2015-11-14 Thread Aditya
I am not able to understand the debug information.

Any specific parameter to look for?

Regards
Aditya

On Sat, Nov 14, 2015 at 6:42 PM, Alexandre Rafalovitch 
wrote:

> Did you try using debug.explain.other and seeing how it is ranked?
> On 14 Nov 2015 6:28 am, "Aditya"  wrote:
>
> > Hi
> >
> > My website www.findbestopensource.com provides search over millions of
> > open
> > source projects.
> >
> > I recently found this issue in my website. Each project will have its
> > description and rank and other set of fields. Rank is set as document
> > boost, so that when user performs a search, high ranked projects should
> > appear first.
> >
> > It was working fine with previous versions of Solr. Some time back I
> moved
> > to 4.10 and after that I am facing this issue. I added a high ranked
> > project and when I did a search the project is not showing up in the
> search
> > results. It is showing the results which were added in older versions of
> > Solr.
> >
> > I am using Solr 4.10  and using Solrj library.
> >
> > Regards
> > Aditya
> >
>


Re: Document boost in Solr

2015-11-14 Thread Alexandre Rafalovitch
Did you try using debug.explain.other and seeing how it is ranked?
On 14 Nov 2015 6:28 am, "Aditya"  wrote:

> Hi
>
> My website www.findbestopensource.com provides search over millions of
> open
> source projects.
>
> I recently found this issue in my website. Each project will have its
> description and rank and other set of fields. Rank is set as document
> boost, so that when user performs a search, high ranked projects should
> appear first.
>
> It was working fine with previous versions of Solr. Some time back I moved
> to 4.10 and after that I am facing this issue. I added a high ranked
> project and when I did a search the project is not showing up in the search
> results. It is showing the results which were added in older versions of
> Solr.
>
> I am using Solr 4.10  and using Solrj library.
>
> Regards
> Aditya
>


Document boost in Solr

2015-11-14 Thread Aditya
Hi

My website www.findbestopensource.com provides search over millions of open
source projects.

I recently found this issue in my website. Each project will have its
description and rank and other set of fields. Rank is set as document
boost, so that when user performs a search, high ranked projects should
appear first.

It was working fine with previous versions of Solr. Some time back I moved
to 4.10 and after that I am facing this issue. I added a high ranked
project and when I did a search the project is not showing up in the search
results. It is showing the results which were added in older versions of
Solr.

I am using Solr 4.10  and using Solrj library.

Regards
Aditya