Search for two-character term Fails -- Fix?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Search for two-character term Fails -- Fix?
Hi,
We have a two character term in our documentation "S3" and we'd like it to be returned by the search. I've checked out the nwSearchFnt.js file and it appears that around line 118:
var txt_enter_at_least_1_char = "You must enter at least one character.";
Is there a means to configure to allow this search through? It appears the code is letting this through but not actually searching.
Mary
We have a two character term in our documentation "S3" and we'd like it to be returned by the search. I've checked out the nwSearchFnt.js file and it appears that around line 118:
var txt_enter_at_least_1_char = "You must enter at least one character.";
Is there a means to configure to allow this search through? It appears the code is letting this through but not actually searching.
Mary
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Search for two-character term Fails -- Fix?
Post by sorin_ristache »
Hi Mary,
In the nwSearchFnt.js file in the function contains please modify the line 424:
to:
The English words that are used very often like no, or, on, be, is, if, it, etc will not be returned as result words, but your rare words (S3, etc) will be returned.
Regards,
Sorin
In the nwSearchFnt.js file in the function contains please modify the line 424:
Code: Select all
if (word.length > 2) {
Code: Select all
if (word.length > 1) {
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service