Skip to content

Commit fdaa786

Browse files
committed
fixed tests rolled-back schemas
1 parent d28e81d commit fdaa786

10 files changed

Lines changed: 1107 additions & 2605 deletions

File tree

src/dist/sample/solr/book-store/managed-schema

Lines changed: 32 additions & 606 deletions
Large diffs are not rendered by default.

src/dist/sample/solr/book-store/managed-schema.xml

Lines changed: 0 additions & 450 deletions
This file was deleted.

src/dist/sample/solr/book-store/solrconfig.xml

Lines changed: 347 additions & 83 deletions
Large diffs are not rendered by default.

src/dist/sample/solr/simple-date/managed-schema

Lines changed: 0 additions & 582 deletions
Large diffs are not rendered by default.

src/dist/sample/solr/simple-date/managed-schema.xml

Lines changed: 0 additions & 381 deletions
This file was deleted.

src/dist/sample/solr/simple-date/solrconfig.xml

Lines changed: 393 additions & 449 deletions
Large diffs are not rendered by default.

src/test/resources/sample/mechanical-pencils/mechanical-pencils.panl.properties.original

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -641,15 +641,15 @@ solr.highlight=false
641641
#
642642
# ~ ~ ~ * ~ ~ ~
643643

644-
panl.lpse.fields=
645-
# <field "stored"="true" "name"="id" "type"="string" "multiValued"="false" "required"="true" />
644+
645+
# <field "name"="id" "type"="string" "stored"="true" "required"="true" "multiValued"="false" />
646646
# This configuration can __ONLY__ ever be a field as it is not indexed in Solr
647647
panl.field.i=id
648648
panl.name.i=Id
649649
panl.type.i=solr.StrField
650650
panl.uniquekey.i=true
651651

652-
# <field "indexed"="true" "stored"="true" "name"="brand" "type"="string" "multiValued"="false" />
652+
# <field "name"="brand" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
653653
# This configuration can be either a field or a facet as it is indexed in Solr
654654
panl.facet.b=brand
655655
panl.name.b=Brand
@@ -669,7 +669,7 @@ panl.type.b=solr.StrField
669669
# passed through then add the LPSE code(s) in a comma separated list below
670670
#panl.when.b=
671671

672-
# <field "indexed"="true" "stored"="true" "name"="name" "type"="string" "multiValued"="false" />
672+
# <field "name"="name" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
673673
# This configuration can be either a field or a facet as it is indexed in Solr
674674
panl.facet.N=name
675675
panl.name.N=Name
@@ -689,7 +689,7 @@ panl.type.N=solr.StrField
689689
# passed through then add the LPSE code(s) in a comma separated list below
690690
#panl.when.N=
691691

692-
# <field "indexed"="true" "stored"="true" "name"="mechanism_type" "type"="string" "multiValued"="false" />
692+
# <field "name"="mechanism_type" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
693693
# This configuration can be either a field or a facet as it is indexed in Solr
694694
panl.facet.m=mechanism_type
695695
panl.name.m=Mechanism Type
@@ -709,7 +709,7 @@ panl.type.m=solr.StrField
709709
# passed through then add the LPSE code(s) in a comma separated list below
710710
#panl.when.m=
711711

712-
# <field "indexed"="true" "stored"="true" "name"="body_shape" "type"="string" "multiValued"="false" />
712+
# <field "name"="body_shape" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
713713
# This configuration can be either a field or a facet as it is indexed in Solr
714714
panl.facet.B=body_shape
715715
panl.name.B=Body Shape
@@ -729,7 +729,7 @@ panl.type.B=solr.StrField
729729
# passed through then add the LPSE code(s) in a comma separated list below
730730
#panl.when.B=
731731

732-
# <field "indexed"="true" "stored"="true" "name"="grip_type" "type"="string" "multiValued"="false" />
732+
# <field "name"="grip_type" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
733733
# This configuration can be either a field or a facet as it is indexed in Solr
734734
panl.facet.g=grip_type
735735
panl.name.g=Grip Type
@@ -749,7 +749,7 @@ panl.type.g=solr.StrField
749749
# passed through then add the LPSE code(s) in a comma separated list below
750750
#panl.when.g=
751751

752-
# <field "indexed"="true" "stored"="true" "name"="grip_shape" "type"="string" "multiValued"="false" />
752+
# <field "name"="grip_shape" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
753753
# This configuration can be either a field or a facet as it is indexed in Solr
754754
panl.facet.G=grip_shape
755755
panl.name.G=Grip Shape
@@ -769,7 +769,7 @@ panl.type.G=solr.StrField
769769
# passed through then add the LPSE code(s) in a comma separated list below
770770
#panl.when.G=
771771

772-
# <field "indexed"="true" "stored"="true" "name"="cap_shape" "type"="string" "multiValued"="false" />
772+
# <field "name"="cap_shape" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
773773
# This configuration can be either a field or a facet as it is indexed in Solr
774774
panl.facet.c=cap_shape
775775
panl.name.c=Cap Shape
@@ -789,7 +789,7 @@ panl.type.c=solr.StrField
789789
# passed through then add the LPSE code(s) in a comma separated list below
790790
#panl.when.c=
791791

792-
# <field "indexed"="true" "stored"="true" "name"="category" "type"="string" "multiValued"="false" />
792+
# <field "name"="category" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
793793
# This configuration can be either a field or a facet as it is indexed in Solr
794794
panl.facet.C=category
795795
panl.name.C=Category
@@ -809,7 +809,7 @@ panl.type.C=solr.StrField
809809
# passed through then add the LPSE code(s) in a comma separated list below
810810
#panl.when.C=
811811

812-
# <field "indexed"="true" "stored"="true" "name"="length" "type"="pint" "multiValued"="false" />
812+
# <field "name"="length" "type"="pint" "indexed"="true" "stored"="true" "multiValued"="false" />
813813
# This configuration can be either a field or a facet as it is indexed in Solr
814814
panl.facet.l=length
815815
panl.name.l=Length
@@ -842,7 +842,7 @@ panl.type.l=solr.IntPointField
842842
# passed through then add the LPSE code(s) in a comma separated list below
843843
#panl.when.l=
844844

845-
# <field "indexed"="true" "stored"="true" "name"="relative_length" "type"="pint" "multiValued"="false" />
845+
# <field "name"="relative_length" "type"="pint" "indexed"="true" "stored"="true" "multiValued"="false" />
846846
# This configuration can be either a field or a facet as it is indexed in Solr
847847
panl.facet.r=relative_length
848848
panl.name.r=Relative Length
@@ -875,7 +875,7 @@ panl.type.r=solr.IntPointField
875875
# passed through then add the LPSE code(s) in a comma separated list below
876876
#panl.when.r=
877877

878-
# <field "indexed"="true" "stored"="true" "name"="diameter" "type"="pint" "multiValued"="false" />
878+
# <field "name"="diameter" "type"="pint" "indexed"="true" "stored"="true" "multiValued"="false" />
879879
# This configuration can be either a field or a facet as it is indexed in Solr
880880
panl.facet.d=diameter
881881
panl.name.d=Diameter
@@ -908,7 +908,7 @@ panl.type.d=solr.IntPointField
908908
# passed through then add the LPSE code(s) in a comma separated list below
909909
#panl.when.d=
910910

911-
# <field "indexed"="true" "stored"="true" "name"="weight" "type"="pint" "multiValued"="false" />
911+
# <field "name"="weight" "type"="pint" "indexed"="true" "stored"="true" "multiValued"="false" />
912912
# This configuration can be either a field or a facet as it is indexed in Solr
913913
panl.facet.w=weight
914914
panl.name.w=Weight
@@ -941,7 +941,7 @@ panl.type.w=solr.IntPointField
941941
# passed through then add the LPSE code(s) in a comma separated list below
942942
#panl.when.w=
943943

944-
# <field "indexed"="true" "stored"="true" "name"="relative_weight" "type"="pint" "multiValued"="false" />
944+
# <field "name"="relative_weight" "type"="pint" "indexed"="true" "stored"="true" "multiValued"="false" />
945945
# This configuration can be either a field or a facet as it is indexed in Solr
946946
panl.facet.R=relative_weight
947947
panl.name.R=Relative Weight
@@ -974,7 +974,7 @@ panl.type.R=solr.IntPointField
974974
# passed through then add the LPSE code(s) in a comma separated list below
975975
#panl.when.R=
976976

977-
# <field "indexed"="true" "stored"="true" "name"="lead_length" "type"="pint" "multiValued"="false" />
977+
# <field "name"="lead_length" "type"="pint" "indexed"="true" "stored"="true" "multiValued"="false" />
978978
# This configuration can be either a field or a facet as it is indexed in Solr
979979
panl.facet.L=lead_length
980980
panl.name.L=Lead Length
@@ -1007,7 +1007,7 @@ panl.type.L=solr.IntPointField
10071007
# passed through then add the LPSE code(s) in a comma separated list below
10081008
#panl.when.L=
10091009

1010-
# <field "indexed"="true" "stored"="true" "name"="disassemble" "type"="boolean" "multiValued"="false" />
1010+
# <field "name"="disassemble" "type"="boolean" "indexed"="true" "stored"="true" "multiValued"="false" />
10111011
# This configuration can be either a field or a facet as it is indexed in Solr
10121012
panl.facet.D=disassemble
10131013
panl.name.D=Disassemble
@@ -1027,7 +1027,7 @@ panl.type.D=solr.BoolField
10271027
# passed through then add the LPSE code(s) in a comma separated list below
10281028
#panl.when.D=
10291029

1030-
# <field "indexed"="true" "stored"="true" "name"="hardness_indicator" "type"="string" "multiValued"="false" />
1030+
# <field "name"="hardness_indicator" "type"="string" "indexed"="true" "stored"="true" "multiValued"="false" />
10311031
# This configuration can be either a field or a facet as it is indexed in Solr
10321032
panl.facet.h=hardness_indicator
10331033
panl.name.h=Hardness Indicator
@@ -1047,7 +1047,7 @@ panl.type.h=solr.StrField
10471047
# passed through then add the LPSE code(s) in a comma separated list below
10481048
#panl.when.h=
10491049

1050-
# <field "indexed"="true" "stored"="false" "name"="in_built_eraser" "type"="boolean" "multiValued"="false" />
1050+
# <field "name"="in_built_eraser" "type"="boolean" "indexed"="true" "stored"="false" "multiValued"="false" />
10511051
# This configuration can be either a field or a facet as it is indexed in Solr
10521052
panl.facet.I=in_built_eraser
10531053
panl.name.I=In Built Eraser
@@ -1067,13 +1067,13 @@ panl.type.I=solr.BoolField
10671067
# passed through then add the LPSE code(s) in a comma separated list below
10681068
#panl.when.I=
10691069

1070-
# <field "stored"="true" "name"="variants" "type"="string" "multiValued"="true" />
1070+
# <field "name"="variants" "type"="string" "stored"="true" "multiValued"="true" />
10711071
# This configuration can __ONLY__ ever be a field as it is not indexed in Solr
10721072
panl.field.v=variants
10731073
panl.name.v=Variants
10741074
panl.type.v=solr.StrField
10751075

1076-
# <field "indexed"="true" "stored"="true" "name"="text" "type"="text_general" "multiValued"="true" />
1076+
# <field "name"="text" "type"="text_general" "indexed"="true" "stored"="true" "multiValued"="true" />
10771077
# This configuration can be either a field or a facet as it is indexed in Solr
10781078
panl.facet.t=text
10791079
panl.name.t=Text

0 commit comments

Comments
 (0)