*How to implement a broad search on the title field in DSpace 7/8?* 

Hello everyone!

I'm trying to implement a *broader search* in DSpace 8 using the 
/discover/search/objects endpoint to filter by title (f.title). Currently, 
I'm using the contains operator, but I've noticed that it *does not return 
all the expected results*.
*Problem* 
   
   - When I search for f.title=Teoria geral dos partidos,contains, it 
   correctly returns an item titled "Teoria geral dos partidos polĂ­ticos". 
   - However, when I search for f.title=Teoria geral dos 
   polĂ­ticos,contains, *no results are found*, even though the string is 
   very similar to an existing title. 
   - In other words, the search *seems to work more like a partial equals 
   than a true "contains" search* within the title. 

*What I have tested* 
   
   - *Switched between /discover/search/objects and 
   /discover/browses/title/items*, but both have this limitation. 
   - *Tried reordering words and removing accents*, but no difference. 
   - *Checked Solr*, and the titles appear to be correctly indexed. 

*What do I need?* 

I want to implement a *broad search* on the title field so that users can 
find an item even if they don't type the exact title. Some possible 
solutions:

   1. Is there a way to *use wildcards (*) within contains*? 
   2. *Can I use another operator (fuzzy, wildcard, phrase, etc.) in DSpace 
   searches?* 
   3. If the solution is within Solr configurations, *what adjustments 
   should I make?* 

Any suggestions would be greatly appreciated! 


-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-community/7b530e48-decc-49fb-9b58-d90427fb4a5cn%40googlegroups.com.

Reply via email to