lucene.net - How do I index tags and query exact matches against these tags in lucene .net? -


take structure example:

name: john

hobbies: dancing, scuba-diving, horse-back-riding, sky-diving

name: jane

hobbies: motorcycle-racing, sky-diving, dancing

i interested in indexing , querying information. important thing query needs exact match against hobbies:

so, searching "sky-diving" should return both john , jane

searching "diving" should return 0 results, since exact match not found.

what ideal indexing , query approach should take index hobbies?

add them multiple values same field. parse them before load.


Comments