[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Search on multiple-compound fields

Hi Alan,

You should be able to add the 'dates' field to advanced search 
(eprint_search_advanced.pl) but it does have an issue if you want to say 
find all items with date type accepted in a certain time period.? This 
would find items that have accepted as one of the date types set but the 
date that falls within the time period may be for a different date 
type.? I have been looking into how to fix this.? However, so far the 
only solution looks to be to make it into a date into a data object in 
its own right.? Then you can add both fields like "dates.date" and 
"dates.date_type" to the advanced search configuration.? I will let you 
know if I get anywhere with this.


David Newman

On 30/05/2022 16:59, Alan.Stiles via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Sorry ? for clarity, I mean add them as an option on the eprint search 
> page.
> *From: *eprints-tech-bounces at ecs.soton.ac.uk 
> <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Alan.Stiles via 
> Eprints-tech <eprints-tech at ecs.soton.ac.uk>
> *Date: *Monday, 30 May 2022 at 16:56
> *To: *eprints-tech at ecs.soton.ac.uk <eprints-tech at ecs.soton.ac.uk>
> *Subject: *[EP-tech] Search on multiple-compound fields
> CAUTION: This mail comes from outside the University. Please consider 
> this before opening attachments, clicking links, or acting on the 
> content.
> *CAUTION:*This e-mail originated outside the University of Southampton.
> Somebody please put me out of my misery ? is it possible (and if so, 
> how) to search a combination of values from a multiple, compound field?
> e.g. search the ?dates dates dates? fields for a particular 
> combination of date value and date_type.
> Looking at version 3.3.16, in case that makes a difference?
> Thanks,
> Alan
> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd24e271396c24800e0f008da4256f1eb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637895238425973515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=q5YB3uS5OtJtis83Z5ydEOzMH4mDs6HkiwZkFMmd99w%3D&amp;reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd24e271396c24800e0f008da4256f1eb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637895238425973515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=BAdE3kB43oeRj%2BHuXhuX5ZIdO2jChlOQ41obnsKmpkI%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220530/27427d53/attachment.html