Re: IndexManager<Object>

5 views
Skip to first unread message
Message has been deleted

Tim Schmidt

unread,
Jun 25, 2010, 9:18:39 PM6/25/10
to activelucen...@googlegroups.com
Why are your documents going to be different?  In Lucene, you would typically use a homogeneous document model.  I mean, technically you could do IndexManager<object> since the generic argument is just used to pass along to the helper methods to add documents so if you don't use those, you should be safe.


On Thu, Jun 24, 2010 at 10:15 PM, Jason <jason...@gmail.com> wrote:

I really like the API versus using Lucene.Net directly but I won't be
able to take advantage of the LuceneField attributes. Most of my
documents are different. Is that going to be an issue if I always use
type object?

 _indexManager = new IndexManager<Object>(indexPath, _analyzer,
false);

It seems to work with a simple example. I was thinking I should keep
an eye on the caching that was mentioned but I couldn't find where
that is implemented.

Thanks,
Jason

Reply all
Reply to author
Forward
0 new messages