Psychoanalytic Electronic Publishing (PEP)

Advanced Search

See All PEP-Web Help Topics

Advanced search allows all the search features of the underlying search engine, Solr, to be used in conjunction with our data. You can use Solr query syntax in conjunction with our entire schema. One important difference between Advanced Search and normal smartsearch is that you can only use a single field qualifier in a smartsearch.

The Advanced Search implementation is still experimental, a work in progress.

The simple way to invoke Advanced Query is in SmartSearch, start the query with the string:

adv::

Please note the required double colon after adv

Following the “adv::” string to label the query advanced, enter a standard Solr query suitable for the “q” parameter of the Solr API.

A simple example: articles with 10 to 20 references, and the word Pleasure in the title.

   adv::reference_count:[10 TO 20] AND title:Pleasure

More examples: Ego but not id, and not superego, and not Freud.  All three of these are the same query in our Advanced Solr syntax, using Boolean logic equivalencies.

  adv::ego AND -id AND -superego AND -Freud    

adv::ego AND NOT id AND NOT superego AND NOT Freud

adv::ego AND NOT(id OR superego OR Freud)

 

Search for flying in a dream in a paper where one of the authors is Karpman

adv::dreams:flying AND authors:Karpman

Search for flying in a dream in a paper also talking about the superego

adv::dreams:flying AND superego

Search for dreams with the word flying and superego (no matches)

adv::dreams:(flying AND superego)

Search for dreams with the word flying or superman

adv::dreams:(flying OR superman)

Search for articles mentioning superman OR about dreams with the word flying

adv::dreams:flying OR superman