You are viewing limited content. For full access, please sign in.

Question

Question

Text Search Dashes

asked on September 1, 2015

LF Server: 9.2.1

WebAccess: 9.2.0

Just noticing some differences in the way text searching for terms works when the search term contains a dash.  In the Full client text searching with dashes (-) will almost represent an "or" in the search terms, I.E searching for 12-21-2012 will return context hits of '21'   or  '2012'.  Running this search through webaccess will return only the proper results, only text with '12-21-2012' in the text.  Now, enclosing the search term with single quotes (') works similarly to the way search engines work and will only return results with the full search term '12-21-2012', and this is the desired behavior. 

I guess we were looking for some clarification of how and why this functions as it does, since it only seems to pertain to text searching under these very specific conditions, any help would be appreciated, thanks.

0 0

Answer

APPROVED ANSWER
replied on September 3, 2015 Show version history

There are two things that should help you understand what's going on:

1) Full-text searches ignore punctuation. That is, a space, a comma, a hypen, etc. are all treated the same, so 1 1 2015, 1@1@2015, 1.1.2015, and 1-1-2015 would all be returned in a full-text search for 1-1-2015.

2) In Laserfiche 9.1, some changes were made to full-text searches. In particular, you may be seeing the results of this change:

In 9.0, multi-word text searches only return results that have the specified words next to each other in the exact order as in the search string. In 9.1, however, multi-word text searches will return any document that contains all of the words in the search, regardless of the order in which they appear or whether they are next to each other.

For instance, if a user searches for 'Laserfiche Web' in 9.0, they will only get results that contain the exact phrase 'Laserfiche Web'. However, in 9.1, that same search will also include results that contain 'Web Laserfiche', 'Laserfiche' on one page and 'web' on another, etc. The end result is that multi-word text searches are more inclusive in 9.1 than they were in 9.0.

Since the initial release, we have been working to improve the search so that in cases where order/proximity are important, we should automatically make the search exact by putting it in quotes for you. For example, if hyphens or dashes are present, the search should automatically quote your search, which (as you noticed when you tried it manually) will return the exact matches.

In addition to the version of client you're using, the exact way you're searching would help us provide more information on the different results (e.g., Basic search with Text checked vs. Text search).

0 0
replied on May 24, 2017

I'm using 10.2 Webaccess and when I search "Human Resources" (in quotes) it searches the terms separately. Is this expected behaviour? Is there an intention to change or  improve this?

0 0
replied on May 24, 2017 Show version history

There was a bug in the initial version of the server that had these changes. What version of the Laserfiche Server are you on?

If you are on a 9.2+ version of the Laserfiche Server, what kind of search are you performing?

0 0
replied on May 24, 2017

we're on 10.2. The search I'm performing is in the webaccess client in the browser preview search. I'm trying to only pull the exact phrase "human resources" by putting it in quotes, but it doesn't work:

 

0 0

Replies

replied on September 3, 2015

In my 9.2 client, a text search for 12-21-2012 will enclose it in double quotes. With fuzzy search off, this only returns exact matches of 12-21-2012. Are using the 9.2 client?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.