On Thu, 6 Nov 2008 01:18:45 -0800 (PST)
Dora <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I am new to Lucene and working on a search module for some XML data:
>
> I need to provide a "search all" able to look in all xml fields.
> Apparently Lucene (2.4.0) does not provide such a "search all" facility
Timo,
You may be looking for class OpenBitSetDisi in the util package,
it was made for boolean filter operations on OpenBitSets.
Also have a look at the contrib modules, OpenBitSetDisi is
used there in two classes that do (precisely?) what you need:
contrib/miscellaneous/**/ChainedFilter
contrib/q
On Sat, 8 Nov 2008 10:53:43 +
"Mindaugas Žakšauskas" <[EMAIL PROTECTED]> wrote:
> > How do I keep only one IndexSearcher open for all the searches on my
> > website?
>
> In order to keep your IndexSearcher open, simply do not close it and
> serve the reference to the same object instance for
Hi!
Since Filter.bits() is deprecated and replaced by getDocIdSet() now I wonder
how I am supposed to combine (AND) filters (for facets).
I worked around this issue by extending Filter and let getDocIdSet() return an
OpenBitSet to ensure that this implementation is used everywhere and casting
No it doesn't, still gettig the same output... :-(
Daniel Naber-10 wrote:
>
> On Samstag, 8. November 2008, lamino wrote:
>
>> String q = "secrétaire";
>
> Does it help if you escape it like this: "secr\u00e9taire"? The java
> compiler might interpret non-ASCII chars differently, de
Not out of the box, but it's fairly trivial to copy multisesscher and
modify it so that a different query goes to each suvsearcher.
- Mark
On Nov 8, 2008, at 5:45 AM, "Shishir Jain" <[EMAIL PROTECTED]>
wrote:
Hi,
Doc1: Field1, Field2
Doc2: Field1, Field2
If I create Index such that Fie
Hi,
Doc1: Field1, Field2
Doc2: Field1, Field2
If I create Index such that Field1 is stored in index1 and Field2 is stored
in index2.
Can I use Multisearcher to search for Field1 in index1 and Field2 index2 and
get the merged results?
Thanks & Regards,
Shishir Jain
On Samstag, 8. November 2008, lamino wrote:
> String q = "secrétaire";
Does it help if you escape it like this: "secr\u00e9taire"? The java
compiler might interpret non-ASCII chars differently, depending on the
environment it runs in.
Regards
Daniel
--
http://www.danielnaber.de
---
> How do I keep only one IndexSearcher open for all the searches on my
> website?
In order to keep your IndexSearcher open, simply do not close it and
serve the reference to the same object instance for different HTTP
request clients.
This can easily be achieved using Singleton wrapper around
Ind