Boldness of text in search results

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Boldness of text in search results

bhaskar chandrasekar
Hi,

>
>
>
> We have integrated Solr index with Carrot2 Search Engine and able to get
> search results.
>
>
>If i give Java as search in carrot search text.

> In my search results page, by default *The input search string given in the search"for the particular query is not getting bolded in the search display text..
>
>
> >
>
> Currently I am getting like, 
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
http://www.indeed.com/rc/clk?jk=ad1452c3f308117c&qd=RnZhMybXSk4M3QtTVGXWof6dLBUCSJMhZBpK_6Qr_WrU3Rf7PVY4cIgzsspOIJNZbDl51vtufTSlukh7HYyhtLfwGyUPScBN0cnXpRsq5is&rd=sjfNYMk6KHZsM6ac_stI8w
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
http://www.indeed.com/rc/clk?jk=ad1452c3f308117c&qd=RnZhMybXSk4M3QtTVGXWof6dLBUCSJMhZBpK_6Qr_WrU3Rf7PVY4cIgzsspOIJNZbDl51vtufTSlukh7HYyhtLfwGyUPScBN0cnXpRsq5is&rd=sjfNYMk6KHZsM6ac_stI8w
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
The search result shld be :
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
http://www.indeed.com/rc/clk?jk=ad1452c3f308117c&qd=RnZhMybXSk4M3QtTVGXWof6dLBUCSJMhZBpK_6Qr_WrU3Rf7PVY4cIgzsspOIJNZbDl51vtufTSlukh7HYyhtLfwGyUPScBN0cnXpRsq5is&rd=sjfNYMk6KHZsM6ac_stI8w
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
http://www.indeed.com/rc/clk?jk=ad1452c3f308117c&qd=RnZhMybXSk4M3QtTVGXWof6dLBUCSJMhZBpK_6Qr_WrU3Rf7PVY4cIgzsspOIJNZbDl51vtufTSlukh7HYyhtLfwGyUPScBN0cnXpRsq5is&rd=sjfNYMk6KHZsM6ac_stI8w
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
Where Java comes it should be bolded in the search text.
 
Let me know how to achieve this?.
 
 
Regards
Bhaskar


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Boldness of text in search results

Stanislaw Osinski
Administrator
Interesting, I've just tried this with my local copy of the webapp and it does search word highlighting as it should (see attached). Please inspect the output HTML to see if there are the <b> tags around query words (there should be).

Thanks,

S.

On Mon, Aug 31, 2009 at 16:40, bhaskar chandrasekar <[hidden email]> wrote:
Hi,

>
>
>
> We have integrated Solr index with Carrot2 Search Engine and able to get
> search results.
>
>
>If i give Java as search in carrot search text.

> In my search results page, by default *The input search string given in the search"for the particular query is not getting bolded in the search display text..
>
>
> >
>
> Currently I am getting like, 
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
The search result shld be :
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
Where Java comes it should be bolded in the search text.
 
Let me know how to achieve this?.
 
 
Regards
Bhaskar



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers

search-phrase-highlighting.png (78K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Boldness of text in search results

bhaskar_sekar
Hi,
 
I have integerated Solr with Carrot
 
I deployed carrot2-webapp-3.1-dev  war file.
 
For a given input string it gives me approximate count of records.
 
For ex : I give my input string as "Sites" in the search text area.
 
Top 150 results of about 18809 for sites
 
1: Site Settings 

 
2: Site Settings 
.
..
...
.
.
.
.
The boldness of text is not getting displayed in the text area of the search.
 
When i checked my output html tag i don't see any <b> tags.
 
The output should display as follows:
 
Top 150 results of about 18809 for sites
 
1: Site Settings 

 
2: Site Settings Show in clusters Open in new window Show preview
 
.
.
.
.
.
.
With sites getting bolded in the search area text.
 
Let me how to achieve the same?
 
Regards
Bhaskar

On Mon, Aug 31, 2009 at 10:59 PM, Stanislaw Osinski <[hidden email]> wrote:
Interesting, I've just tried this with my local copy of the webapp and it does search word highlighting as it should (see attached). Please inspect the output HTML to see if there are the <b> tags around query words (there should be).

Thanks,

S.


On Mon, Aug 31, 2009 at 16:40, bhaskar chandrasekar <[hidden email]> wrote:
Hi,

>
>
>
> We have integrated Solr index with Carrot2 Search Engine and able to get
> search results.
>
>
>If i give Java as search in carrot search text.

> In my search results page, by default *The input search string given in the search"for the particular query is not getting bolded in the search display text..
>
>
> >
>
> Currently I am getting like, 
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
The search result shld be :
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
Where Java comes it should be bolded in the search text.
 
Let me know how to achieve this?.
 
 
Regards
Bhaskar



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers
Reply | Threaded
Open this post in threaded view
|

Re: Boldness of text in search results

bhaskar_sekar
In reply to this post by Stanislaw Osinski
 
Hi Stainslaw,
 
I tried with carrot2-webapp-3.1-dev and able to get total count of records for the given input string.
I followed the same procedure as you did.
I am not getting the boldness in the search area text for the given input search string.
Is there any file or anything else i have to include to achieve the boldness in the search results.
 
For ex: If i give index in the search , i get the search output as follows.
 
Top 100 results of about 313 for Index Cluster with documents
 
 
 
Regards
Bhaskar


 
On Mon, Aug 31, 2009 at 10:59 PM, Stanislaw Osinski <[hidden email]> wrote:
Interesting, I've just tried this with my local copy of the webapp and it does search word highlighting as it should (see attached). Please inspect the output HTML to see if there are the <b> tags around query words (there should be).

Thanks,

S.


On Mon, Aug 31, 2009 at 16:40, bhaskar chandrasekar <[hidden email]> wrote:
Hi,

>
>
>
> We have integrated Solr index with Carrot2 Search Engine and able to get
> search results.
>
>
>If i give Java as search in carrot search text.

> In my search results page, by default *The input search string given in the search"for the particular query is not getting bolded in the search display text..
>
>
> >
>
> Currently I am getting like, 
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
The search result shld be :
 
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
for a full time Senior Java Developer experienced... Senior Java Reports Developer Qualifications: * 5 years of hands-on development experience in Java * 3... From: Jobmagic
v3.1-dev | build 268 | 2009-07-28 18:29 © 2002-2009 Stanislaw Osinski, Dawid Weiss
Query: Java -- Source: Jobs (200 results, 1067ms) -- Clusterer: Lingo (322 ms)
 
Where Java comes it should be bolded in the search text.
 
Let me know how to achieve this?.
 
 
Regards
Bhaskar



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Carrot2-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/carrot2-developers