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

Question

Question

Search not returning name when full name entered

asked on June 20, 2016 Show version history

We are trying to search for the name AL-TALABANI in Laserfiche.  When I enter full name, no results returned for that name but if I enter part of name e.g. AL-TALABAN (or less letters), the results are returned.

I do not have Fuzzy Search turned on.  I have 'Find partial matches when performing a basic search' turned on, and 'Include variations of root word in indexed searches' turned on.  I also have it set to Case Insensitive/Accent Insensitive.

Does anyone know the explanation for this?  Why can I not find it when I enter the entire name?

Thanks, Bev.

0 0

Answer

SELECTED ANSWER
replied on June 20, 2016 Show version history

It looks like the surname field indexed, and the search is interpreting the hyphen - as the NOT operator, so the search returns results that have AL but do not have TALABAN.

What version is your desktop Client? 9.1.0?

If you are on more recent versions of the desktop Client (9.1.1+), the search UI should automatically add quotes to the search syntax when running indexed field searches to prevent this kind of issue, but Client 9.1 will not.

To see if this is the issue you are encountering, you can add the advanced search block like so:

Note that I the "Include advanced search criteria" unchecked.

You can see in my screenshot that the search is indexed (it has ~= instead of =) and it has single quotes around the phrase 'testing-index'. This search would return the results you expect.

If you see something like the following instead:

{[]:[Indexed Field]~="testing-index"}

Then you're running into the issue I mentioned above.

To work around this issue, you have a different couple options:

  1. Enclose your term in quotes when you search for names that have hyphens
  2. Upgrade Client to a newer version
  3. Talk to the administrator who indexes fields and ask them not to index fields that may have hyphens
2 0

Replies

replied on June 20, 2016

Are you using the search pane or the search field on the toolbar? Can you post a screenshot of the your search options?

0 0
replied on June 20, 2016

Here is the screenshot - I am using the Search by template.  I just tried it in the Basic Search and it does return the information, but every document with that name is returned.  I just want to query the Prohibitions.

0 0
SELECTED ANSWER
replied on June 20, 2016 Show version history

It looks like the surname field indexed, and the search is interpreting the hyphen - as the NOT operator, so the search returns results that have AL but do not have TALABAN.

What version is your desktop Client? 9.1.0?

If you are on more recent versions of the desktop Client (9.1.1+), the search UI should automatically add quotes to the search syntax when running indexed field searches to prevent this kind of issue, but Client 9.1 will not.

To see if this is the issue you are encountering, you can add the advanced search block like so:

Note that I the "Include advanced search criteria" unchecked.

You can see in my screenshot that the search is indexed (it has ~= instead of =) and it has single quotes around the phrase 'testing-index'. This search would return the results you expect.

If you see something like the following instead:

{[]:[Indexed Field]~="testing-index"}

Then you're running into the issue I mentioned above.

To work around this issue, you have a different couple options:

  1. Enclose your term in quotes when you search for names that have hyphens
  2. Upgrade Client to a newer version
  3. Talk to the administrator who indexes fields and ask them not to index fields that may have hyphens
2 0
replied on June 20, 2016

Hi Bev,

I noticed you saying you want to bring back all documents with that NAME, but you are doing a template search. Template searches search the metadata fields associated with the document, not the name itself Have you confirmed that your actual field value that you are searching for matches that name? I ask because I can just barely see in your second screenshot the context hit which implies that the surname field is actually something different. 

Note that you can combine search blocks. I'd suggest trying this. Search for AL-TALABANI in basic search with only entry name unchecked, and then also open up the template search, select the Prohibitions template, but don't fill in any values. That will bring up all documents named AL-TALABANI with the Prohibitions template. If you want anything including the name in the text, not just the name of the documents, you can do the same search and just include text and/or fields in the basic search checkboxes. 

0 0
replied on June 20, 2016

The issue was exactly as Brianna suggested.  It is because it is interpreting the hyphen as 'not'.  Once I enclose my name in quotes, I get back the correct results.

 

Thank you so much,

Bev.

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

Sign in to reply to this post.