glos / glos_catalog

Resources for the GLOS cataloging system
1 stars 7 forks source link

Multiple search terms are not working as expected #17

Open kwilcox opened 11 years ago

kwilcox commented 11 years ago

"phosphorus" returns stations that measure phosphorus

"raisin" returns stations on the raisin river

"phosphorus raisin" doesn't return anything

kwilcox commented 11 years ago

From Kathy:

• A a single word or terms in any order the title, keywords, etc. works most of the time as long as all the words are in that same field and are right next to each other:

Example with title of “Flannery Lake – Deep Hole”

o Deep hole or Hole deep works o Flannery Lake or Lake Flannery works o Lake deep works

o Flannery hole does not work o Flannery lake deep hole does not work; nor does flannery lake – deep hole

(NOTE: I originally thought it didn’t like more than three words, but sometimes three words work and sometimes they don’t)

Inconsistent search, example using “Clear Lake Central Basin; Montmorency Township, SEC 34”>

o Clear lake central basin does not work o Clear lake central seemed to work and even pull up a record that had another word between (“Clear Lake – North Central” …as does… lake central basin o Clear lake basin did not work but using another title example, clear lake north did (and pulled up record which did not have north right next to clear lake)

o era mouth near dock works, but raisin valley golf club does not work (in fact raisin valley does not work while raisin river does). • Combining term(s) between a field and keywords: o Does not work between title and keywords  Deep (in title or abstract) and cloud (in keywords) o Does not work between multiple keywords  Oxygen (in keywords) and cloud (in keywords) o Does work to search a phrase in just keywords  Dissolved oxygen  Dissolved do

dstuebe commented 11 years ago

Wow that is great documentation of the issue, but I am not sure what to do with this. We are using an existing technology and there are limits to the extent that I can tweak it in a free text form. There may be more settings and filters I can apply if we have the time/money. Also if we implement a formal DSL for structured search with keys like and, or, not etc... we can do a lot more, but the search interface will be very complex.

How do you want to proceed?

David

On Wed, May 8, 2013 at 11:42 AM, Kyle Wilcox notifications@github.comwrote:

From Kathy:

• A a single word or terms in any order the title, keywords, etc. works most of the time as long as all the words are in that same field and are right next to each other:

Example with title of “Flannery Lake – Deep Hole”

o Deep hole or Hole deep works o Flannery Lake or Lake Flannery works o Lake deep works

o Flannery hole does not work o Flannery lake deep hole does not work; nor does flannery lake – deep hole

(NOTE: I originally thought it didn’t like more than three words, but sometimes three words work and sometimes they don’t)

Inconsistent search, example using “Clear Lake Central Basin; Montmorency Township, SEC 34”>

o Clear lake central basin does not work o Clear lake central seemed to work and even pull up a record that had another word between (“Clear Lake – North Central” …as does… lake central basin o Clear lake basin did not work but using another title example, clear lake north did (and pulled up record which did not have north right next to clear lake)

o era mouth near dock works, but raisin valley golf club does not work (in fact raisin valley does not work while raisin river does). • Combining term(s) between a field and keywords: o Does not work between title and keywords  Deep (in title or abstract) and cloud (in keywords) o Does not work between multiple keywords  Oxygen (in keywords) and cloud (in keywords) o Does work to search a phrase in just keywords  Dissolved oxygen  Dissolved do

— Reply to this email directly or view it on GitHubhttps://github.com/asascience-open/glos_catalog/issues/17#issuecomment-17614197 .