StandardQueryParser and numeric fields

2023-11-13 Thread Tony Schwartz
Hello, I'm banging my head at this point, hoping someone can help me. I can't get StandardQueryParser to work on numeric fields. Luke v9.8.0 finds the records for me. Example search query string in Luke that works: eventIdNum:3001 Here is my code: Query initQuery() { StandardQuer

Re: Proof of concept for a Luke IntelliJ plugin

2023-11-13 Thread Michael Wechner
Hi Tamas Can one download your plugin somewhere to test it? Thanks Michael Am 13.11.23 um 10:07 schrieb Balog Tamás: Hello everyone! I've been working on a proof of concept of creating an IntelliJ plugin from the Luke application and it reached a demoable state. If anyone of the Lucene c

Re: How to get terms of a particular field of a particular document

2023-11-13 Thread Michael Wechner
I just realize, that the code can be even simpler: String text ="Apache Lucen is a great search library!"; TokenStream stream = TokenSources.getTokenStream(null,null, text,new StandardAnalyzer(), -1); stream.reset();// INFO: See https://lucene.apache.org/core/9_8_0/core/org/apache/lucene/analys

Proof of concept for a Luke IntelliJ plugin

2023-11-13 Thread Balog Tamás
Hello everyone! I've been working on a proof of concept of creating an IntelliJ plugin from the Luke application and it reached a demoable state. If anyone of the Lucene core maintainers, team leads, etc. is interested, I'd be glad to demonstrate it and discuss a potential future for the plugin