Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Apostrophes in titles - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
DMacy
#1 Posted : Wednesday, September 27, 2017 2:55:02 PM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
I'm not getting the results I expect when there is an apostrophe in a title. I'm referring to the keyboard character to the right of the semicolon, not the typographic single quote mark. I have the following document in the index:

Title: Moody's Stories
Summary: Moody's Stories
Document text: Dwight Lyman Moody DLM
URI: http://our.domain.com/lyb22625-41523

I am using the search feature in Keyoti SearchUnit to return 25 sample results. When I search for "Moody's Stories" without quotes, I get 25 results, but this document is not one of them. When I do the same search on our website, there are 85 results, and this document is in the middle of the list.

When I search for "Moody's Stories" with quotes, I get no results (in SearchUnit and on our site).

I've tried searches with other words that contain apostrophes with varied results. It seems that often it will give results when the word with the apostrophe is in the document text, as opposed to the title. I use the default weighting, and I thought having the words in the title had more weight.
Jim
#2 Posted : Wednesday, September 27, 2017 6:18:10 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
So I can try this, what file type is the document? Can you send it or link to it?
-your feedback is helpful to other users, thank you!


DMacy
#3 Posted : Wednesday, September 27, 2017 6:55:35 PM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
I just sent you an email with some more information.
Jim
#4 Posted : Wednesday, September 27, 2017 7:37:42 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Thanks, I indexed that link and searched for it in Index Manager using "moody's stories" and also moody's stories - both worked.

Please try it there, I suspect you have code that is affecting this perhaps? Try to strip it back down, or use one of our example projects.
-your feedback is helpful to other users, thank you!


DMacy
#5 Posted : Wednesday, September 27, 2017 7:54:24 PM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
I am generating the index with a program, not by indexing links. In my first post I gave the exact data that is being passed to the PreloadedDocument constructor for this book. If that document is selected by a search, then the link I sent you in my email is what would be displayed when the search hit is clicked.

Can you generate an index with just the data I listed above and see what a search in the Index Manager yields with that index?
Jim
#6 Posted : Wednesday, September 27, 2017 8:18:53 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Oh I see, then you need to include the title in the document text. The document text is what is searchable.
-your feedback is helpful to other users, thank you!


DMacy
#7 Posted : Wednesday, September 27, 2017 8:33:16 PM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
Okay. I thought that the following configuration properties meant that the title and URL participate in the index and search results like the document text:

<WordWeightFactorBody>10</WordWeightFactorBody>
<WordWeightFactorTitle>100</WordWeightFactorTitle>
<WordWeightFactorUrl>90</WordWeightFactorUrl>

What do these properties apply to?
Jim
#8 Posted : Wednesday, September 27, 2017 11:24:53 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
It does, but the difference is that the text for the PreloadedDocument needs to include the title, it doesn't equate directly to the 'Body' in the params above. I.e. PreloadedDocument text is everything you want indexed.
-your feedback is helpful to other users, thank you!


DMacy
#9 Posted : Thursday, September 28, 2017 1:17:44 AM
Rank: Advanced Member

Groups: Registered

Joined: 9/1/2010
Posts: 136
Okay. Thanks, Jim!

Dan
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.