Exception from FastTaxonomyFacetCounts

2014-10-07 Thread Jigar Shah
Intermittently while search i am getting this exception on huge index.
(FacetsConfig used while indexing and searching is same.)

java.lang.ArrayIndexOutOfBoundsException: 252554
06:28:37,954 ERROR [stderr] at
org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts.count(FastTaxonomyFacetCounts.java:73)
06:28:37,954 ERROR [stderr] at
org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts.(FastTaxonomyFacetCounts.java:49)
06:28:37,954 ERROR [stderr] at
org.apache.lucene.facet.taxonomy.FastTaxonomyFacetCounts.(FastTaxonomyFacetCounts.java:39)
06:28:37,954 ERROR [stderr] at
com.company.search.CustomDrillSideways.buildFacetsResult(LuceneDrillSideways.java:41)
06:28:37,954 ERROR [stderr] at
org.apache.lucene.facet.DrillSideways.search(DrillSideways.java:146)
06:28:37,955 ERROR [stderr] at
org.apache.lucene.facet.DrillSideways.search(DrillSideways.java:203)

Thanks,
Jigar Shah


Re: Notifications of new Lucene-Releases

2014-10-07 Thread Ramkumar R. Aiyengar
There's also gene...@lucene.apache.org, which while technically not being
just announcements is fairly low volume anyway..
On 6 Oct 2014 15:10, "Nils Knappmeier" 
wrote:

> Hello,
>
> is there a good way to be notified about new releases of the Lucene-core,
> other than checking the Lucene homepage every other day and other than
> subscribing to the java-user mailinglist, from which I am currently getting
> a large number of mails that I don't have time to read.
>
> I was looking for an "anouncement"-list, but could not find any.
>
> Thank you in advance,
>   Nils
>
> --
> --
>
> Nils Knappmeier | Software Engineer
> intelligent views gmbh
> Julius-Reiber-Str. 17 |64293 Darmstadt
>
> Tel ++49(0)6151 - 5006-228 | Fax ++49(0)6151 - 5006-138
> e-mail: n.knappme...@i-views.de | www.i-views.de
>
>
> Geschäftsführer: Achim Gärtner, Jörg Kleinz, Klaus Reichenberger Die
> Gesellschaft ist eingetragen beim Amtsgericht Darmstadt (Sitz der
> Gesellschaft) Nr. HRB 7965
>
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
> loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and delete this e-mail. Any
> unauthorised copying, disclosure or distribution of the contents in this
> e-mail is strictly forbidden.
>
>
>
>
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>


Re: Notifications of new Lucene-Releases

2014-10-07 Thread Nils Knappmeier

Thanks,

I'll try the Apache announce list.


Am 06.10.2014 16:32, schrieb Michael McCandless:

Lucene doesn't have a dedicated announce list; maybe subscribe to
Apache's announce list?  But then you get announcements for all Apache
projects ... maybe add a mail filter ;)

Mike McCandless

http://blog.mikemccandless.com


On Mon, Oct 6, 2014 at 10:10 AM, Nils Knappmeier
 wrote:

Hello,

is there a good way to be notified about new releases of the Lucene-core,
other than checking the Lucene homepage every other day and other than
subscribing to the java-user mailinglist, from which I am currently getting
a large number of mails that I don't have time to read.

I was looking for an "anouncement"-list, but could not find any.

Thank you in advance,
   Nils

--
--

Nils Knappmeier | Software Engineer
intelligent views gmbh
Julius-Reiber-Str. 17 |64293 Darmstadt

Tel ++49(0)6151 - 5006-228 | Fax ++49(0)6151 - 5006-138
e-mail: n.knappme...@i-views.de | www.i-views.de


Geschäftsführer: Achim Gärtner, Jörg Kleinz, Klaus Reichenberger Die
Gesellschaft ist eingetragen beim Amtsgericht Darmstadt (Sitz der
Gesellschaft) Nr. HRB 7965

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and delete this e-mail. Any
unauthorised copying, disclosure or distribution of the contents in this
e-mail is strictly forbidden.





-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org




--
--

Nils Knappmeier | Software Engineer
intelligent views gmbh
Julius-Reiber-Str. 17 |64293 Darmstadt

Tel ++49(0)6151 - 5006-228 | Fax ++49(0)6151 - 5006-138
e-mail: n.knappme...@i-views.de | www.i-views.de


Geschäftsführer: Achim Gärtner, Jörg Kleinz, Klaus Reichenberger Die
Gesellschaft ist eingetragen beim Amtsgericht Darmstadt (Sitz der
Gesellschaft) Nr. HRB 7965

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorised copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.




-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: query.extractTerms(..) on rewritten queries

2014-10-07 Thread Christian Reuschling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It works now - I simply applied 
MultiTermQuery.CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE to all
(sub)MultiTermQueries in the query given from QueryParser. Then, 
Query.extractTerms works again.

Someone only have to be clear that this gives BooleanQuery.getMaxClauseCount() 
terms at maximum.

Performance could be improved by subclassing an own RewriteMethod.

Thanks a lot

Chris


On 06.10.2014 19:35, Uwe Schindler wrote:
> Hi,
> 
> Lucene no longer rewrites Wildcards and other MultiTermQueries to Boolean 
> Queries by default,
> because execution of such queries is too slow. If you just want to get the 
> filtered index
> terms, it is easiest to write your own MultiTermQuery.RewriteMethod that 
> collects all terms
> while rewriting and set it on the MultiTermQuery variant and rewrite it to 
> collect the terms.
> 
> Uwe
> 
> - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen 
> http://www.thetaphi.de eMail:
> u...@thetaphi.de
> 
>> -Original Message- From: Christian Reuschling 
>> [mailto:reuschl...@dfki.uni-kl.de] 
>> Sent: Monday, October 06, 2014 6:06 PM To: java-user@lucene.apache.org 
>> Subject:
>> query.extractTerms(..) on rewritten queries
>> 
> Hi,
> 
> currently I migrate to Lucene 4. In the past, I did a trick to get the index 
> specific terms for
> an according (wildcard) query (see below). But it don't works anymore:
> 
> String queryString = "n*"; // gives no result // String queryString = "nöä"; 
> // results, but
> only the given String - not the real index terms
> 
> Query query = new QueryParser(Version.LUCENE_CURRENT, "body", new 
> StandardAnalyzer(Version.LUCENE_CURRENT)).parse(queryString);
> 
> Query rewritten = searcher.rewrite(query);
> 
> HashSet hsTerms = new HashSet<>();
> 
> rewritten.extractTerms(hsTerms);
> 
> in the past, searcher.rewrite on a wildcard query results into a new 
> BooleanQuery with simple
> TermQueries in it, representing the matching primitive terms from the index.
> 
> The javaDoc of the current release sounds to me that this could still work:
> 
> Searcher.rewrite: /**Expert: called to re-write queries into primitive 
> queries.**/
> 
> Query.extractTerms: /**Expert: adds all terms occurring in this query to the 
> terms set. Only
> works if this query is in its {@link #rewrite rewritten} form.**/
> 
> 
> 
> Thanks in advance!
> 
> Christian
> 
>> 
>> - To 
>> unsubscribe, e-mail:
>> java-user-unsubscr...@lucene.apache.org For additional commands, e-mail:
>> java-user-h...@lucene.apache.org
> 
> 
> - To 
> unsubscribe, e-mail:
> java-user-unsubscr...@lucene.apache.org For additional commands, e-mail:
> java-user-h...@lucene.apache.org
> 

- -- 
__
Christian Reuschling, Dipl.-Ing.(BA)
Software Engineer

Knowledge Management Department
German Research Center for Artificial Intelligence DFKI GmbH
Trippstadter Straße 122, D-67663 Kaiserslautern, Germany

Phone: +49.631.20575-1250
mailto:reuschl...@dfki.de  http://www.dfki.uni-kl.de/~reuschling/

- Legal Company Information Required by German Law--
Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
  Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313=
__
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlQzvfcACgkQ6EqMXq+WZg9CCQCgge0f0v0yl7HKFr80d7yCHwgz
kY0AniYUa/27VS4gIYZ/YzCCp7EHFXha
=HMvr
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Mads

2014-10-07 Thread Sick Mick


Sent from my iPhone

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org