[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Marcel de Rooy  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=21762

--- Comment #76 from Marcel de Rooy  ---
(In reply to Fridolin SOMERS from comment #75)
> (In reply to Marcel de Rooy from comment #74)
> > 
> > I would recommend to reopen this report (although you might want to obsolete
> > some patches) but it seems to be imo an interesting option to explore in ES.
> 
> I suggest you open a new bug report dedicated to ES

21762

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #75 from Fridolin SOMERS  ---
(In reply to Marcel de Rooy from comment #74)
> 
> I would recommend to reopen this report (although you might want to obsolete
> some patches) but it seems to be imo an interesting option to explore in ES.

I suggest you open a new bug report dedicated to ES

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #74 from Marcel de Rooy  ---
(In reply to Fridolin SOMERS from comment #71)
> I've tested the behavior with ElasticSearch with a local field 987$a, not
> present in the mapping.
> From my tests any MARC data is indexed.
> 
> So in the end I'd say we have to be consistent between our two search
> engines.

So you are saying that in ElasticSearch currently any==anywhere==really all
data.
But I suppose that it is just a matter of configuration?

Does ES facilitate an any index in the sense of all user defined indexes ? In
that case we would have found an easy 'any'. If not, we should somehow define
it.
As you say, anywhere is already there..

I would recommend to reopen this report (although you might want to obsolete
some patches) but it seems to be imo an interesting option to explore in ES.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-11-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Fridolin SOMERS  changed:

   What|Removed |Added

 Status|Failed QA   |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #73 from Fridolin SOMERS  ---
Indeed, I think this is not worth continuing on it

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-10-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #72 from Katrin Fischer  ---
Hi Frido, does this mean you are no longer working on this patch? Should we
move it to WONTFIX?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-09-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #71 from Fridolin SOMERS  ---
I've tested the behavior with ElasticSearch with a local field 987$a, not
present in the mapping.
>From my tests any MARC data is indexed.

So in the end I'd say we have to be consistent between our two search engines.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Katrin Fischer  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA

--- Comment #70 from Katrin Fischer  ---
Some notes:

1) Typo here, worlds would be nice :) Also, why are both descriptions the same?

+[% IF ( ms_anywhere ) %]Any world (all indexes)
+[% ELSE %]Any word (all
indexes)[% END %]

2) QA script complains about tabs in Search.pm (L 1090)

3) The commit message still talks about GRS-1, please update to have a
consistent test plan. At the omment I am a little confused as to what index is
what and where will it be used.

4) While I like the idea of this, I think it needs some more thought.
I am not happy with the change of behaviour. It's true that we changed it when
introducing DOM, but I think that's been too far ago to step back from now. 

What I'd like to see is a configuration option on what should be the default
index to use with keyword. 

Setting to FQA for commenting, but feel free to ask for more opinions!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-06-18 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #69 from Fridolin SOMERS  ---
(In reply to Jonathan Druart from comment #68)
> Is this only for GRS-1?
> 
> Bug 14302 - Remove GRS1 indexing related code

Nope it has started for GRS-1 but its now for DOM only.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-05-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Jonathan Druart  changed:

   What|Removed |Added

 CC||jonathan.dru...@bugs.koha-c
   ||ommunity.org

--- Comment #68 from Jonathan Druart  
---
Is this only for GRS-1?

Bug 14302 - Remove GRS1 indexing related code

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #67 from Charles Farmer  ---
Had to remove the firstmost patch named "[SIGNED OFF] Changes to CCL.properties
...". Nothing lost, however, since it looked like a patch that was rebased but
not obsoleted.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Charles Farmer  changed:

   What|Removed |Added

  Attachment #25672|0   |1
is obsolete||
  Attachment #73617|0   |1
is obsolete||

--- Comment #65 from Charles Farmer  ---
Created attachment 75569
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75569=edit
Bug 8962: Changes to CCL.properties, bib1 for authorities, and templates

This patch adds a new index Anywhere in ccl.properties in bib1 for authorities,
and add "any word" option in intranet search for using this index.
Default OPAC and intranet search in still using CCL "Any" index.

Testing plan :
In a Marc21 GRS-1 Koha :
1/ make some biblio searches without selecting any index (Koha will use "any"
index) and note the results. Ex : search "fre", "eng", "book", "history",
"history book"
2/ apply the 3 patches
3/ copy the 4 new record.abs files (Marc21 auth, Marc21 bib, Unimarc auth,
Unimarc bib) from your sources to the directory used by Zebra configuration in
your Koha instance
4/ launch rebuild_zebra.pl -b -r -x -v
5/ check that a new choice "Any word (all indexes)" is visible in advanced
search.
6/ make the same searches as 1/ : you should see less results (detailed test
plan in patchs 2 and 3)
7/ in Staff interface adavanced search, select "Any word (all indexes)" and
make the same searches as 1/ : you should see the same results (maybe with a
slight differences, because more notes fields are indexed in Marc21)

In a UNIMARC GRS-1 Koha :
same test

Signed-off-by: Martin Renvoize 

Signed-off-by: Charles Farmer 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Charles Farmer  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-05-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Charles Farmer  changed:

   What|Removed |Added

  Attachment #73618|0   |1
is obsolete||

--- Comment #66 from Charles Farmer  ---
Created attachment 75570
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75570=edit
Bug 8962: Restore Any index behavior and add Anywhere index

The "Any" index/register should contains all the data contained in all the
other indexes/registers (e.g. Title, Author, Subject, etc).

The "Anywhere" index/register should contain the entire record including
fields/subfields that aren't indexed anywhere else.

In GRS1 indexing the Any index was indeed only on fields defined as indexed.
This has changed in DOM where all data in MARC is indexed with Any.
This generates a lot of results when no index is defined in search.

This patch changes the DOM xsl config generation to add Any to each indexed
data and add Anywhere to keep a way of searching on all data.

Test plan :
- Add a data on a field that is not indexed : for example "toto" in 998$z
- Add same data as the title of another record
- Index the records
- Search on toto without index (uses Any) => you get the 2 records
- Search on toto with title index => you get the record with "toto" as title
- Apply patch
- Update DOM xsl config files
- Reindex
- Search on toto without index (uses Any) => you get the record with "toto" as
title
- Search on toto with title index => you get the record with "toto" as title
- Search on toto with Anywhere index => you get the 2 records

Signed-off-by: Charles Farmer 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-04-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Fridolin SOMERS  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

--- Comment #64 from Fridolin SOMERS  ---
(In reply to Charles Farmer from comment #61)
> Unless I'm mistaken, this patch doesn't apply anymore:
> 
> > CONFLICT (content): Merge conflict in 
> > koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc

Indeed.
Easy rebase.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-04-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Fridolin SOMERS  changed:

   What|Removed |Added

  Attachment #70127|0   |1
is obsolete||

--- Comment #63 from Fridolin SOMERS  ---
Created attachment 73618
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73618=edit
Bug 8962: Restore Any index behavior and add Anywhere index

The "Any" index/register should contains all the data contained in all the
other indexes/registers (e.g. Title, Author, Subject, etc).

The "Anywhere" index/register should contain the entire record including
fields/subfields that aren't indexed anywhere else.

In GRS1 indexing the Any index was indeed only on fields defined as indexed.
This has changed in DOM where all data in MARC is indexed with Any.
This generates a lot of results when no index is defined in search.

This patch changes the DOM xsl config generation to add Any to each indexed
data and add Anywhere to keep a way of searching on all data.

Test plan :
- Add a data on a field that is not indexed : for example "toto" in 998$z
- Add same data as the title of another record
- Index the records
- Search on toto without index (uses Any) => you get the 2 records
- Search on toto with title index => you get the record with "toto" as title
- Apply patch
- Update DOM xsl config files
- Reindex
- Search on toto without index (uses Any) => you get the record with "toto" as
title
- Search on toto with title index => you get the record with "toto" as title
- Search on toto with Anywhere index => you get the 2 records

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-04-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #62 from Fridolin SOMERS  ---
Created attachment 73617
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73617=edit
Bug 8962: Changes to CCL.properties, bib1 for authorities, and templates

This patch adds a new index Anywhere in ccl.properties in bib1 for authorities,
and add "any word" option in intranet search for using this index.
Default OPAC and intranet search in still using CCL "Any" index.

Testing plan :
In a Marc21 GRS-1 Koha :
1/ make some biblio searches without selecting any index (Koha will use "any"
index) and note the results. Ex : search "fre", "eng", "book", "history",
"history book"
2/ apply the 3 patches
3/ copy the 4 new record.abs files (Marc21 auth, Marc21 bib, Unimarc auth,
Unimarc bib) from your sources to the directory used by Zebra configuration in
your Koha instance
4/ launch rebuild_zebra.pl -b -r -x -v
5/ check that a new choice "Any word (all indexes)" is visible in advanced
search.
6/ make the same searches as 1/ : you should see less results (detailed test
plan in patchs 2 and 3)
7/ in Staff interface adavanced search, select "Any word (all indexes)" and
make the same searches as 1/ : you should see the same results (maybe with a
slight differences, because more notes fields are indexed in Marc21)

In a UNIMARC GRS-1 Koha :
same test

Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-03-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Charles Farmer  changed:

   What|Removed |Added

 Status|Needs Signoff   |Patch doesn't apply
 CC||charles.far...@inlibro.com

--- Comment #61 from Charles Farmer  ---
Unless I'm mistaken, this patch doesn't apply anymore:

> CONFLICT (content): Merge conflict in 
> koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-01-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Marjorie Barry-Vila  changed:

   What|Removed |Added

 CC||marjorie.barry-vila@collect
   ||o.ca

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-01-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #60 from Katrin Fischer  ---
I think for this bug an option to switch between Any and Anywhere would be
good. Then for existing installations keep the current behaviour and for new
installations (default setting) use the 'smaller' index. The custom one is
definitely for a new bug.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-01-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Magnus Enger  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=19944

--- Comment #59 from Magnus Enger  ---
(In reply to Fridolin SOMERS from comment #58)
> (In reply to Katrin Fischer from comment #56)
> > As this would be a change of behavior now after a long time of dom
> > indexing... should we make it possible to switch the one that is used in the
> > GUI when selecting 'keyword'?
> 
> Ineed, maybe we could create a system pref that defines which index is used
> when no index is specified : any, anywhere or other custom index maybe.

Yups, that sounds like an excellent idea. But probably something for a new bug.
I have reported it here: "Bug 19944 - Make the default index configurable"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2018-01-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #58 from Fridolin SOMERS  ---
(In reply to Katrin Fischer from comment #56)
> As this would be a change of behavior now after a long time of dom
> indexing... should we make it possible to switch the one that is used in the
> GUI when selecting 'keyword'?

Ineed, maybe we could create a system pref that defines which index is used
when no index is specified : any, anywhere or other custom index maybe.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #57 from Magnus Enger  ---
(In reply to Katrin Fischer from comment #55)
> Hi Magnus, I think this is out of scope if this aims to restore the former
> behaviour - you'd have to remove the place of publication from indexes.
> Maybe a next step could be a configurable Any index?

Sounds good!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #56 from Katrin Fischer  ---
As this would be a change of behavior now after a long time of dom indexing...
should we make it possible to switch the one that is used in the GUI when
selecting 'keyword'?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Katrin Fischer  changed:

   What|Removed |Added

 CC||katrin.fisc...@bsz-bw.de

--- Comment #55 from Katrin Fischer  ---
Hi Magnus, I think this is out of scope if this aims to restore the former
behaviour - you'd have to remove the place of publication from indexes.
Maybe a next step could be a configurable Any index?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #54 from Magnus Enger  ---
(In reply to Fridolin SOMERS from comment #51)
> > 
> > The "Any" index/register should contains all the data contained in all the
> > other indexes/registers (e.g. Title, Author, Subject, etc). 
> > 
> > The "Anywhere" index/register should contain the entire record including
> > fields/subfields that aren't indexed anywhere else. 
> > 
> 
> This is what I want to do so I changed the bug description.

Which index will be used for the default/simple search from the OPAC front
page? 

One of my least favourite "features" of search in Koha is that the
default/simple search includes "Place of publication" (MARC21: 260$a). If you
have a Norwegian catalogue, a lot of the books in it will have Oslo as Place of
publication. This means that if you do a simple search for "oslo", because you
want to find books about Oslo, you will get *a lot* of noise, because you not
only find the books about Oslo, but also all the books published in Oslo. 

Any chance of fixing this as part of this bug?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Fridolin SOMERS  changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff

--- Comment #53 from Fridolin SOMERS  ---
Once validated, we will patch the DOM XSL config files.

Maybe first patch needs some changes, let me know.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #52 from Fridolin SOMERS  ---
Created attachment 70127
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70127=edit
Bug 8962: Restore Any index behavior and add Anywhere index

The "Any" index/register should contains all the data contained in all the
other indexes/registers (e.g. Title, Author, Subject, etc).

The "Anywhere" index/register should contain the entire record including
fields/subfields that aren't indexed anywhere else.

In GRS1 indexing the Any index was indeed only on fields defined as indexed.
This has changed in DOM where all data in MARC is indexed with Any.
This generates a lot of results when no index is defined in search.

This patch changes the DOM xsl config generation to add Any to each indexed
data and add Anywhere to keep a way of searching on all data.

Test plan :
- Add a data on a field that is not indexed : for example "toto" in 998$z
- Add same data as the title of another record
- Index the records
- Search on toto without index (uses Any) => you get the 2 records
- Search on toto with title index => you get the record with "toto" as title
- Apply patch
- Update DOM xsl config files
- Reindex
- Search on toto without index (uses Any) => you get the record with "toto" as
title
- Search on toto with title index => you get the record with "toto" as title
- Search on toto with Anywhere index => you get the 2 records

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

--- Comment #51 from Fridolin SOMERS  ---
> 
> The "Any" index/register should contains all the data contained in all the
> other indexes/registers (e.g. Title, Author, Subject, etc). 
> 
> The "Anywhere" index/register should contain the entire record including
> fields/subfields that aren't indexed anywhere else. 
> 

This is what I want to do so I changed the bug description.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 8962] Restore Any index behavior and add Anywhere index

2017-12-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8962

Fridolin SOMERS  changed:

   What|Removed |Added

Summary|Create a new index for OPAC |Restore Any index behavior
   |simple search, more |and add Anywhere index
   |specific than "any" |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/