DTSearch - searchin...
 
Notifications
Clear all

DTSearch - searching for term with spaces before and after

3 Posts
2 Users
0 Reactions
665 Views
4n6art
(@4n6art)
Reputable Member
Joined: 18 years ago
Posts: 208
Topic starter  

Hi all

Here's the dilemma. I need to search for a term (let's say "abc") by itself. However, whenever I search for it after indexing, i get hits that include
sfssabcsf
abcsdf
12abc234
etc.

I want abc by itself with a space before and after. Unfortunately, since the term I am searching for is an acronym, it gives many false hits too.

I can't seem to find a way to do it.
Any suggestions??

Thanx
-=Art=-


   
Quote
jhup
 jhup
(@jhup)
Noble Member
Joined: 16 years ago
Posts: 1442
 

From the manual -

Punctuation inside of a search word is treated as a space. Example can't would be treated as a phrase consisting of two words can and t. 1843©(8)(ii) would become 1843 c 8 ii (four words). (To customize the way dtSearch handles punctuation in text, see Alphabet Customization.)

and

Hyphens By default, dtSearch treats hyphens as spaces in indexed text and in search requests. For example, "first-class" would be treated like "first class." This option provides a way to select alternative treatments.

furthermore look at

Menu option Options > Preferences > Letters and words

finally their tech support have always returned my e-mails promptly.


   
ReplyQuote
4n6art
(@4n6art)
Reputable Member
Joined: 18 years ago
Posts: 208
Topic starter  

Jhup

Thanx - I did read that in the manual and was not sure how the punctuation part would help me. I am trying include the space and not get rid of it, BUT… now that I read your post again, let me ask you this

Would searching for -abc- give me abc as a response or would it still include the other "noise" around it. I'm going to try it later tonight, but I have a sneaky feeling it will work.

Amazing how a few hours away from the screen opens up the field of view )

-Art-


   
ReplyQuote
Share: