Solved

Query contains loses highlight

Posted on 2001-09-04
4
196 Views
Last Modified: 2013-12-18
I'm currently trying to update our search function for our web users. I've managed to code the template to only search a specific field. However, when a user then clicks on a resulting page link, the "highlight,0..." usually appended to the a href tag has been removed. Does anyone know how I can stop this highlight code from being removed?

Thanks in advance for any help!
0
Comment
Question by:M0n1ca2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6454277
I don't think that notes will highlight the words searched by field. The highlight occurs automatically for a full text search.

~Hemanth
0
 

Author Comment

by:M0n1ca2
ID: 6454354
I figured that, is there no way to tap into that code so that we may append in the "hightlight=0,"+query
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 100 total points
ID: 6454425
Yes you can execute a query with field value on web like the one stated in this document and append the highlight keyword, but it might not work with highlight parameter. Worth trying it and here is the tech note to how to achieve field level search

http://support.lotus.com/sims2.nsf/eb5fbc0ab175cf0885256560005206cf/fddf08891a0a1f3786256625006b4019?OpenDocument

and eg would be by form,
http://support.lotus.com/sims2.nsf/eb5fbc0ab175cf0885256560005206cf/16944e653bc198a2c125669f00367919?OpenDocument

and a little caution note from Iris on using highlight parameter,
http://www.notes.net/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/ddab7ef2ae48909a852568930057d60d?OpenDocument

0
 
LVL 8

Expert Comment

by:Jean Marie Geeraerts
ID: 6455728
How do you perform the search ?
If you put together an URL to perform the search (like I usually do using JavaScript to validate search-criteria etc.) just append the highlight parameter at the end of your URL and see if it works.
Use the third link in HemanthaKumar's comment to check out the syntax.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question