Bug 8457 - Number of results shown in 'scan index' search, doesn't match results found in catalog
Summary: Number of results shown in 'scan index' search, doesn't match results found i...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P1 - high major (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 12:31 UTC by Hend
Modified: 2018-08-01 23:04 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Advanced Search when scan index is selected (47.87 KB, image/png)
2012-07-19 07:30 UTC, Hend
Details
Scan Index Results (24.73 KB, image/png)
2012-07-19 07:31 UTC, Hend
Details
Results when "QueryAutoTruncate" is set to "automatically" (10.06 KB, image/png)
2012-07-19 07:31 UTC, Hend
Details
Results when "QueryAutoTruncate" is set to "only if * is added" (46.80 KB, image/png)
2012-07-19 07:32 UTC, Hend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hend 2012-07-17 12:31:39 UTC
When i try to click on any any term/phrase in scan index results list i get "No results found "  but this happens only when   " QueryAutoTruncate " preference is set to "only if * is added"  . If this preference is set to "automatically"  i could get results .
Koha version 3.6.5
Comment 1 Mason James 2012-07-18 02:23:54 UTC
(In reply to comment #0)
> When i try to click on any any term/phrase in scan index results list i get
> "No results found "  but this happens only when   " QueryAutoTruncate "
> preference is set to "only if * is added"  . If this preference is set to
> "automatically"  i could get results .
> Koha version 3.6.5

a screen-shot?
Comment 2 Hend 2012-07-19 07:23:59 UTC
Attached the screenshots
Case 1: when i set  QueryAutoTruncate  preference to "automatically"  
The first screen shots shows this scenario.
Case 2: when i set QueryAutoTruncate  preference  to "only if * is added"
screen shots 1,2,4  shows this scenario.
Comment 3 Hend 2012-07-19 07:30:20 UTC
Created attachment 10992 [details]
Advanced Search when scan index is selected
Comment 4 Hend 2012-07-19 07:31:01 UTC
Created attachment 10993 [details]
Scan Index Results
Comment 5 Hend 2012-07-19 07:31:41 UTC
Created attachment 10994 [details]
Results when "QueryAutoTruncate" is set to "automatically"
Comment 6 Hend 2012-07-19 07:32:51 UTC
Created attachment 10995 [details]
Results when "QueryAutoTruncate" is set to "only if * is added"
Comment 7 Katrin Fischer 2015-01-06 18:33:53 UTC
Unfortunately, this is still valid. The search URL is the same, but the preference QueryAutoTruncate changes the behaviour:

index term was 'd':
.../cgi-bin/koha/catalogue/search.pl?idx=&q="d"
Comment 8 Jon Knight 2018-03-16 15:14:13 UTC
I've just been trying this on my kohadevbox under master, and I can provoke it to make an error with the default test data (searching for "network" rather than "ivory" to get matches).  Is this an issue that has been fixed in another change in the last few years, or am I misunderstanding what the issue is and it is still causing problems?
Comment 9 Katrin Fischer 2018-03-31 21:21:09 UTC
I am still seeing very different result lists when clicking on an index term.
Comment 10 Lee Jamison 2018-05-29 18:40:20 UTC
I do not run into this problem on the current master (18.06.00.000).

Test plan I followed:
1.) Verify the QueryAutoTruncate syspref is set to "automatically"
2.) Navigate to Advanced Search
3.) If not already toggled, click "More options" next to the search button
4.) Select Search for --> Title as phrase --> "ivory" (without quotes)
5.) Tick the box for "Scan indexes"
6.) Click Search
7.) Results should appear
8.) Set the QueryAutoTruncate syspref to "only if * is added"
9.) Repeat steps 2-7
10.) Results should still appear
Comment 11 Katrin Fischer 2018-08-01 23:04:28 UTC
The misunderstanding here might be that we are talking about the results shown when you click on one of the results of the scan - the number shown doesn't match.

So:
- Search for 'der' with scan (sample data shows 2 entries)
- Click on 'der'
-> verify different result lists for differnet settings of QueryAutoTruncate
For me:
- 100 in result list with QueryAutoTruncate Off..