prior-art-archive / priorartarchive.org

Prior Art Archive Site
https://priorartarchive.org
GNU General Public License v2.0
3 stars 1 forks source link

Document how ADJ, NEAR, SAME, WITH should work #31

Open metasj opened 5 years ago

metasj commented 5 years ago

Share descriptions of how this should work, with test cases + expected outputs, a prereq to thorough testing. Nupur, you may have a good writeup of this already.

Implementations of these adjacency words differ. All have a default distance. NEAR : within some # of words in any direction. WITH can mean within a # of words, in the order specified. ADJ : next to in any direction, or in the order specified. If ADJ takes a number it replaces either NEAR or WITH? SAME : often "in the same paragraph".

metasj commented 5 years ago

On the current site we support both inline adjacency operators (nearN, adjN, &c) and a dropdown selector that applies some default version of adjacency to the entire string.

Currently the following are equivalent:

Known issues:

metasj commented 5 years ago

Details from a Thomson tool: https://images.webofknowledge.com/images/help/TCT/search_fundamentals.htm

Details from a similar tool, w/tests (but not specifying default distance): http://www.acclaimip.com/near-and-adj-proximity-operators/

joeltg commented 5 years ago

I think these are documented on the Help page at https://www.priorartarchive.org/help - all operators have specific meanings that map onto the Elasticsearch Query DSL

slifty commented 5 years ago

@metasj based on @joeltg's observation, is this task complete or should we re-scope to include work that is needed.