Solved

Query contains loses highlight

Posted on 2001-09-04
4
195 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now