Opened 13 years ago
Last modified 12 years ago
#837 new enhancement
language-index-field to be align to trunk
Reported by: | fxp | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.10.0 RC0 |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Some fixes to apply:
- token attribute could be removed from all fields (it's defined in config-lucene.xsl)
- instead of using UPPER (ABCDEFGHIJKLMNOPQRSTUVWXYZ) and LOWER var and translate function, you could switch to XSL v2 and use lower-case upper-case function
- trunk is not using + 360 shift for coordinates, because lat long are indexed as numeric now.
- "any" field indexing could probably be done using normalize-space instead of recursive template loop - which is much faster. I've not tested it but something like the following should be ok (you could have a look to "any" in index-fields.xsl) :
<Field name="any" store="false" index="true" token="true"> <xsl:attribute name="string"> <xsl:value-of select="normalize-space(//node()[@locale=$langId])"/> </xsl:attribubte> </Field>
- default lang in function.xsl is set to "en" not "eng" ?
Change History (2)
comment:1 by , 13 years ago
Type: | defect → enhancement |
---|
comment:2 by , 12 years ago
Milestone: | v2.7.0 → v2.9.0 |
---|
Note:
See TracTickets
for help on using tickets.
Committed revision 8916.
TODO :