Re: Proof of concept for a Luke IntelliJ plugin

2023-11-14 Thread Balog Tamás
Hi Michael, Not at the moment, but I can share privately a built plugin archive (a .zip file) that one can install manually. If the plugin looks suitable, I think the best place for it would be under the Apache GitHub organization, and my question is, are you someone who can help with that? A

RE: Faceting Queries NON-Taxonomy-based

2023-11-14 Thread Tony Schwartz
I have a lot of questions. For example, the javadocs for the "KeywordField" class says: "... doc values for sorting and faceting" Yet, I don't see a way with 9.8.x Lucene to perform faceting on fields that haven't been specifically indexed for faceting. I clearly need a lesson or two on facet

Re: Faceting Queries NON-Taxonomy-based

2023-11-14 Thread Stefan Vodita
Hi Tony, Have you looked at the faceting demo package [1]? The faceting documentation that lives there [2] was updated last year (thanks @epotyom!) and there haven't been major API changes since. The `SimpleSortedSetFacetsExample` [3] might be a good starting point for what you're trying to do.

RE: Stored field already compressed

2023-11-14 Thread Tony Schwartz
Awesome! Thank you, Mikhail! I was able to use this code to create my own Codec. Had to learn how to register the Codec via Java's SPI. Seems to be working perfectly. Appreciate the help! Significant performance improvement right out of the gate! Tony -Original Message- From: M

Re: Stored field already compressed

2023-11-14 Thread Mikhail Khludnev
Hi, I think here's how you can construct it easily. https://github.com/apache/lucene/blob/1ebee9e6116b1dbc5bcd410b4180df1f9c4c9d50/lucene/core/src/java/org/apache/lucene/index/SortingStoredFieldsConsumer.java#L78 On Tue, Nov 14, 2023 at 10:11 PM Tony Schwartz wrote: > Hello, > > > > I would lik

Stored field already compressed

2023-11-14 Thread Tony Schwartz
Hello, I would like to store a field for a document in the index without any compression. The field is already a compressed byte[]. The application already uses ZStd and it’s very well optimized for this data. It doesn’t seem Lucene will allow me to store the field without compressing it

Faceting Queries NON-Taxonomy-based

2023-11-14 Thread Tony Schwartz
Hello, Is there a definitive (or at least very good) documentation or video on Lucene faceting? I find the existing docs and samples out-dated and inaccurate. As such, I'm having trouble getting my mind around how it works to ensure I index my documents in such a way as to allow faceting. I'

RE: StandardQueryParser and numeric fields

2023-11-14 Thread Tony Schwartz
Perfect! Thank you very much! Exactly what I needed, and simple! Tony -Original Message- From: Uwe Schindler Sent: Tuesday, November 14, 2023 05:51 To: java-user@lucene.apache.org Subject: Re: StandardQueryParser and numeric fields Hi, By default the standard query parser has no ide

Re: StandardQueryParser and numeric fields

2023-11-14 Thread Uwe Schindler
Hi, By default the standard query parser has no idea about field types (and it cannot because it does not know the schema of your index). If you want to allow searching in non-text fields (TextField, all other - also normal StringField breaks easy), you need to customize it. There are 2 quer