Re: [Dspace-tech] Use AND logic search instead of OR

2015-02-12 Thread Àlex Magaz Graça
El 11/02/15 a les 22:20, Xerio Cheri ha escrit:
 Hi Tim,

 Thanks so much. Sorry for not mentioning the DSpace version, we're using
 v. 4.1, so Discovery is the enabled engine. I'll tell the staff how it
 works and how to force the AND logic. Thanks again!

 2015-02-11 21:16 GMT+00:00 Tim Donohue tdono...@duraspace.org
 mailto:tdono...@duraspace.org:

 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
 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/
 http://goparallel.sourceforge.net/



 _
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.__net
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/__lists/listinfo/dspace-tech
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/__display/DSPACE/Mailing+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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Hi Xerio,

If you prefer having less results when performing a search, you can 
still change the behaviour. You just have to change the value of this 
option in dspace/solr/search/conf/schema.xml to AND:

solrQueryParser defaultOperator=OR/

Cheers,
Àlex

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Use AND logic search instead of OR

2015-02-11 Thread Xerio Cheri
Hi Tim,

Thanks so much. Sorry for not mentioning the DSpace version, we're using v.
4.1, so Discovery is the enabled engine. I'll tell the staff how it works
and how to force the AND logic. Thanks again!

2015-02-11 21:16 GMT+00:00 Tim Donohue tdono...@duraspace.org:

 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
 DSpace-tech@lists.sourceforge.net
 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Use AND logic search instead of OR

2015-02-11 Thread Xerio Cheri
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Use AND logic search instead of OR

2015-02-11 Thread Tim Donohue
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
 DSpace-tech@lists.sourceforge.net
 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette