1

I am trying to put together an index using terms, which I specify as a comma separated list. I want to replicate the display in Luke as seen here:

http://ayende.com/Blog/archive/2009/05/03/nhibernate-search-again.aspx

But my index value just shows as a single field with the comma separate list value. For example:

Tags term,anotherterm

When I search my index, it will return results if I search with "term" but will not return anything if I search with "anotherterm"

I thought the indexing process would break the comma separate list apart into separate values but this does not seem to be the case.

Anyone got any ideas?

Thanks

Tim Peel
  • 2,274
  • 5
  • 27
  • 43

2 Answers2

0

The collection to index is ISet<T> and I suspect that T is a type with [Indexed] attribute and has a property Name marked with [Field] attribute.

Marc Climent
  • 9,434
  • 2
  • 50
  • 55
0

This was answered as part of this question:

Lucene.NET search index approach

Community
  • 1
  • 1
Tim Peel
  • 2,274
  • 5
  • 27
  • 43