Re: Question to Lucene Index

2006-02-27 Thread Erik Hatcher
On Feb 27, 2006, at 4:06 AM, Thomas Papke wrote: Thank you for all your good answers The restriction i want to search with looks somethinks like this: I want to do some searching for A in diffenerent Fields and i want to prohibite some user/usergroups specific field values. I am right to

Re: Question to Lucene Index

2006-02-27 Thread Thomas Papke
Thank you for all your good answers The restriction i want to search with looks somethinks like this: I want to do some searching for A in diffenerent Fields and i want to prohibite some user/usergroups specific field values. I am right to do it in this way: BooleanQuery q1 = new BooleanQuery

Re: Question to Lucene Index

2006-02-24 Thread Michael D. Curtin
Volodymyr Bychkoviak wrote: This is not the case. maxClauseCount limit number of terms that can fit into BooleanQuery during some queries rewriting. And default value is 1024, not 32. 32 required/prohibited clauses is limitation of Lucene 1.4.3 due to usage of bit patterns to mask required/

Re: Question to Lucene Index

2006-02-24 Thread Volodymyr Bychkoviak
This is not the case. maxClauseCount limit number of terms that can fit into BooleanQuery during some queries rewriting. And default value is 1024, not 32. 32 required/prohibited clauses is limitation of Lucene 1.4.3 due to usage of bit patterns to mask required/prohibited clauses. You can s

Re: Question to Lucene Index

2006-02-24 Thread Michael D. Curtin
Thomas Papke wrote: What is the disadvantage of doing that? Besides being a bit awkward, it could use more RAM and time to compile queries. That could be because a query like "foo*" gets expanded into all the terms from the index that begin with "foo", ORed together, like so: "foo" OR "fo

Re: Question to Lucene Index

2006-02-24 Thread Thomas Papke
What is the disadvantage of doing that? Michael D. Curtin schrieb: Thomas Papke wrote: i am a "newby" in usage of Apache Lucene. If have a relativly big database indexed by lucene (about 300MB File). Up to now - all users could search over the hole index. How to restrict the resultset? I ha

Re: Question to Lucene Index

2006-02-24 Thread Michael D. Curtin
Thomas Papke wrote: i am a "newby" in usage of Apache Lucene. If have a relativly big database indexed by lucene (about 300MB File). Up to now - all users could search over the hole index. How to restrict the resultset? I have tried it with adding some BooleanQuerys to restrict entries. But wi

Question to Lucene Index

2006-02-24 Thread Thomas Papke
Hello there, i am a "newby" in usage of Apache Lucene. If have a relativly big database indexed by lucene (about 300MB File). Up to now - all users could search over the hole index. How to restrict the resultset? I have tried it with adding some BooleanQuerys to restrict entries. But with thi