Hi,
> If you store only IDs in Lucene, you won't be able to search using
> > keywords (text).
>
>
> Let me explain better. Suppose I have an index field called
> categories which
> contains a list of ids for each post. For example - 1 2 45 198. Now I
> can
> search on the contents field but re
Hi,
If you store only IDs in Lucene, you won't be able to search using
> keywords (text).
Let me explain better. Suppose I have an index field called categories which
contains a list of ids for each post. For example - 1 2 45 198. Now I can
search on the contents field but restricted to all po
Hi,
> Let me describe my issue taking a simpler model. Lets say I were to
> build a
> blog which allows each post to have multiple keywords. I want to
> provide a
> search over the posts but restricted to a subset of the keywords (say
> -
> python, windows, etc.). How can I structure the index
: index is locked when IndexReader is opening index. After that (when
: index structure is read) lock is released.
which means it sounds like your 30 threads are each trying to open
seperate searchers, which should be unneccessary. Try opening one
(Singleton) searcher and having all of your threa