DSpace uses Apache Solr under the hood and directly queries it. DSpace copies all of its fields into a search_text field which is very likely to include both Jaume Melendres, and Melendres, Jaume. See here <https://github.com/DSpace/DSpace/blob/16b9fa7e2d0ed5a75cb89827d3795022a5c7413a/dspace/solr/search/conf/schema.xml#L361>, here <https://github.com/DSpace/DSpace/blob/16b9fa7e2d0ed5a75cb89827d3795022a5c7413a/dspace/solr/search/conf/schema.xml#L236>, then the field type <https://github.com/DSpace/DSpace/blob/16b9fa7e2d0ed5a75cb89827d3795022a5c7413a/dspace/solr/search/conf/schema.xml#L68> . <https://github.com/DSpace/DSpace/blob/16b9fa7e2d0ed5a75cb89827d3795022a5c7413a/dspace/solr/search/conf/schema.xml#L361> The field type is responsible for the indexing behaviour (type="index"), and the search behaviour (type="query"), which both use analyzers <https://solr.apache.org/guide/8_11/analyzers.html> to define their behaviour. DSpace uses the Lucene query parser <https://solr.apache.org/guide/8_11/the-standard-query-parser.html> which is the part that gives meaning to the double quotes.
So, what data do you have in the search_text field? Try modifying the schema.xml file, restarting DSpace, and re-indexing, to see how it affects the search queries in both the frontend and the Apache Solr backend. That will help give you an idea of how the search works and doesn't work. -Andrew On Monday, January 20, 2025 at 6:31:15 PM UTC+11 Ibai Stats wrote: > Hello: > > We have encountered an example of this: > > https://escena.cdmae.cat/home > > • Jaume Melendres or Jaume AND Melendres - 289 results. We believe this is > OK. > • "Jaume Melendres" - 160 results. It includes records where it's also > written Melendres, Jaume. > • "Melendres, Jaume" - 220 results. Although there are more results, we > believe it doesn't include the records where it's written "Jaume > Melendres." > > The DSpace version is 7.5. > > Thank you very much, and best regards. > > > -- 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 Technical Support" 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-tech/e1997e96-87d4-477f-bbf4-7e3320d897dan%40googlegroups.com.
