Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user

We have an SP2010 system running ordinary enterprise search. 

I have an issue with contains queries using the Title managed property and another managed property called Filename. 

What happens is when you do a contains query the Title query fails to recogniserecognize underscores whereas a contains query using the filename property correctly retrieves documents. Now I should point out we have an event handler that makes the title field the same as the document name field.I should point out we have an event handler that makes the title field the same as the document name field. So if a user saves a document name with underscores the same name is automatically replicated to the title field. 

I would have thought if a system recognises underscores as a stop character then this would be consistent across the board. Anybody have ideas on what might be causing this discrepancy.

We have an SP2010 system running ordinary enterprise search. I have an issue with contains queries using the Title managed property and another managed property called Filename. What happens is when you do a contains query the Title query fails to recognise underscores whereas a contains query using the filename property correctly retrieves documents. Now I should point out we have an event handler that makes the title field the same as the document name field. So if a user saves a document name with underscores the same name is automatically replicated to the title field. I would have thought if a system recognises underscores as a stop character then this would be consistent across the board. Anybody have ideas on what might be causing this discrepancy.

We have an SP2010 system running ordinary enterprise search. 

I have an issue with contains queries using the Title managed property and another managed property called Filename. 

What happens is when you do a contains query the Title query fails to recognize underscores whereas a contains query using the filename property correctly retrieves documents. I should point out we have an event handler that makes the title field the same as the document name field. So if a user saves a document name with underscores the same name is automatically replicated to the title field. 

I would have thought if a system recognises underscores as a stop character then this would be consistent across the board. Anybody have ideas on what might be causing this discrepancy.

Source Link
tonym
  • 171
  • 2
  • 11

Keyword Search Query: Document Name versus Title

We have an SP2010 system running ordinary enterprise search. I have an issue with contains queries using the Title managed property and another managed property called Filename. What happens is when you do a contains query the Title query fails to recognise underscores whereas a contains query using the filename property correctly retrieves documents. Now I should point out we have an event handler that makes the title field the same as the document name field. So if a user saves a document name with underscores the same name is automatically replicated to the title field. I would have thought if a system recognises underscores as a stop character then this would be consistent across the board. Anybody have ideas on what might be causing this discrepancy.