Hi,
I have a question about lucene indexing and document locales. I'm developing a search interface based on tabsearch UI which uses the 'q' fast index service. If I run a spatial-only search without the 'any' parameter, the documents returned from the index are missing some fields, eg abstract, keywords, responsibleParty etc. The same search with the 'any' param returns complete documents , ie they include all the lucene 'dump fields' as per the lucene config.
Presumably this has to do with the language detection based on the presence of the 'any' parameter? There appear to be two entries in the 'eng' index for each document (same _id and uuid), one with a _locale field and one without. The entry with the _locale field has all dump fields stored, the other one does not. I'm not sure why this is the case but I think it should be possible to do a spatial-only search and get back documents with all the dump fields.
I notice that if I provide a '_locale' parameter in the search request I can get full results so this may be a workaround? Just wondering if this is a bug or is expected behaviour? I'm running a clean install of the latest 2.8 RC2.
many thanks for any help,
Brian.
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.