0

If I have www.nike.com indexed, I want:

  • Search www.nike.com, return www.nike.com
  • Search nike.com, return www.nike.com
  • Search http://www.nike.com, return www.nike.com
  • Search http://nike.com, return www.nike.com

One option is to use default analyzer, when build index for www.nike.com, manually generate its all variations: [www.nike.com, nike.com, http://www.nike.com, http://nike.com] and index all of them. Then search anyone of them will www.nike.com.

I'm not sure whether there is more graceful solution for this?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.