Thanks very much – the example is very helpful.

 

June

 

From: Demian Katz [mailto:demian.katz@villanova.edu]
Sent: Monday, July 29, 2013 3:40 PM
To: Rayner, June; vufind-general@lists.sourceforge.net
Subject: RE: VuFind and Title Search

 

Here’s a simple example:

 

AllFields:

  DismaxFields:

    - title_short^750

    - title_full_unstemmed^600

    - title_full^400

    - title^500

    - title_alt^200

    - title_new^100

    - series^50

    - series2^30

    - author^300

    - author_fuller^150

    - contents^10

    - topic_unstemmed^550

    - topic^500

    - geographic^300

    - genre^300

    - allfields_unstemmed^10

    - fulltext_unstemmed^10

    - allfields

    - fulltext

  DismaxParams:

    - [pf, "title^1000"]

  QueryFields:

 

(I’m not copying the whole AllFields definition here… just showing how DismaxParams can squeeze in between DismaxFields and QueryFields; I also don’t know that a boost of 1,000 is the most appropriate value – I just made that up at random; you can experiment with different numbers).

 

- Demian

 

From: Rayner, June [mailto:raynerj@einetwork.net]
Sent: Monday, July 29, 2013 3:28 PM
To: Demian Katz; vufind-general@lists.sourceforge.net
Subject: RE: VuFind and Title Search

 

Thanks Demian

 

Would you have an example of a DismaxParams section that you can share?

 

June

 

From: Demian Katz [mailto:demian.katz@villanova.edu]
Sent: Monday, July 29, 2013 2:10 PM
To: Rayner, June; vufind-general@lists.sourceforge.net
Subject: RE: VuFind and Title Search

 

The Dismax “pf” parameter can be used to boost matches where the terms are in close proximity.  See:

 

http://wiki.apache.org/solr/DisMaxQParserPlugin#pf_.28Phrase_Fields.29

 

You should be able to use the DismaxParams section of your searchspecs.yaml to insert a pf value to meet your needs.  Let me know if you need more specifics!

 

- Demian

 

From: Rayner, June [mailto:raynerj@einetwork.net]
Sent: Monday, July 29, 2013 2:06 PM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] VuFind and Title Search

 

Hi folks

 

We’ve been working on improving the results for our title searches.      Currently, the title search operates like a keyword search for each word in the title.    So, the most relevant search results may include documents that have one of the words in the search term  repeated multiple times, while an exact match for the title appears further down in the search results, or not at all.    This is particularly a problem with foreign language titles.

 

What we’re trying to do with the title search is make documents with an exact match for the search term always show up as the most relevant results.    This doesn’t happen unless you enclose the search term in quotes.      Is this something that we can adjust in searchspecs.yaml, or do we need to look at the way the searches themselves are constructed?

 

Thanks, 

 

June Rayner

eiNetwork

(412) 622-1941

raynerj@einetwork.net

 

 
The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.
 
 
The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.
 
The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.