Hi,

What version of DSpace are you using?

The most recent versions of DSpace (4.x and 5.x) both use Discovery 
(based on Solr) for searching. This means they actually perform 
weighted/relevancy searches.

So, if you search on multiple words, items which have both words 
(essentially an AND) will appear at the top of the search results.

More info on Discovery is at
https://wiki.duraspace.org/display/DSDOC5x/Discovery

Discovery has existed in DSpace since DSpace 1.7, but it was disabled by 
default for some time. Starting in DSpace 4, it is the default search 
and browse engine for DSpace. If you are not yet using Discovery, you 
may wish to consider enabling it as it sounds like it may meet your needs.

If you are using Discovery, you actually can force a "boolean AND" by 
simply entering two words with "AND". For example:
  * test AND document -  would only return items that have both "test" 
and "document"
  * test document - would return all items that have either "test" or 
"document" but the ones that have *both* would appear at the top of the 
results.

Good luck!

- Tim

On 2/11/2015 2:42 PM, Xerio Cheri wrote:
> Hi,
>
> It has been proposed by our staff to change the way DSpace searches
> terms on XMLUI. By default, it uses OR logic, so if more than one term
> is entered, any of them will be matched. Is there a simple way to change
> that behavior so if more than one word is entered in the search box only
> items that have ALL of them will be displayed?
>
> Thank you
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to