Jump to content

Proximity search using more than two words

Recommended Posts

We got an interesting question from one of our customer with regards to Proximity search using more that two words.
As this might be valuable information also for others I decided to publish the recap of an answer:
Proximity is actually the number of other words permitted between words in query phrase.

If zero, then this is an exact phrase search. Please note that ordering doesn't matter.

Let's look at the example:

"vound connect intella"~3

Will match:
"vound intella connect" (words in between: 0) 
"vound extra words here connect intella" (words in between: 3)
"vound some words connect separated intella" (words in between: 3)
"intella vound connect" (words in between: 0)

Will not match:
"vound too many extra words here connect intella" (words in between: 5)
"vound some words connect further separated intella" (words in between: 4)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...