EPrints Technical Mailing List Archive
Message: #03843
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Indexing a text field as a whole (not full text)
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Indexing a text field as a whole (not full text)
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- Date: Mon, 26 Jan 2015 08:26:44 +0100
Hi,Does anybody know how to index a field (text) as a whole and not by word (full text) ?
We have a keyword field using Agrovoc thesaurus. We want to be able to look for the whole value "RIZ PLUVIAL" for example; and not for RIZ and PLUVIAL belonging to two different keywords.
From my understanding of the Wiki page (http://wiki.eprints.org/w/Category:EPrints_Metadata_Fields#Ordering.2C_Indexing_and_Searching) the answer was using text_index. But, it seems that it doesn't work this way : with text_index=>0, the keywords are no more searchable...
From the same Wiki page (http://wiki.eprints.org/w/Category:EPrints_Metadata_Fields#Internal-use_and_Deprecated_Field_Types) it is also advised not to use the "id" type which is flagged as deprecated...
So what is the best way to get a field indexed as a whole and not by words ? Thanks for your advices, Gilles
- References:
- [EP-tech] Change EPrint field type.
- From: "Brian D. Gregg" <bdgregg@pitt.edu>
- [EP-tech] Re: Change EPrint field type.
- From: sf2 <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Change EPrint field type.
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- [EP-tech] Change EPrint field type.
- Prev by Date: [EP-tech] Re: New features for EPrints software
- Next by Date: [EP-tech] Re: [solved?] advanced search without subject list (3.3.13)
- Previous by thread: [EP-tech] Re: Change EPrint field type.
- Next by thread: [EP-tech] Re: Change EPrint field type.
- Index(es):