Hi all,
I have a configuration file that lists multiple queries, of all different types,
and that lists words to be ignored.
Each of these lists is user configured, variable in length and content.
I know that, in general, unless the ignore word is in the query it won’t match,
but I need to be abl
Ceccarelli
Could you please describe the use case? maybe there is an easier solution
From: "Shifflett, David [USA]"
Date: Tuesday, July 9, 2019 at 8:02 AM
To: "java-user@lucene.apache.org"
Subject: How to ignore certain words based on query specifics
Hi all,
I have a configura
zed the ignore words should only apply to relevant
(matching) queries.
>
> I don’t want the users to be required to add ‘and not WORD’ many times to
each of the listed queries.
>
> David Shifflett
>
> From: Diego Ceccarelli
>
> Could you pl
ot sure if that exists any more, maybe
someone else will know.
On Tue, Jul 9, 2019, 10:17 AM Shifflett, David [USA] <
shifflett_da...@bah.com> wrote:
> Michael,
> Thanks for your reply.
>
> You are correct, the desired effect is to not match
h Summary makes it more clear what the Hit is about.Not sure but I think
Google does the same in search summaries.-Evert
Original message From: "Shifflett, David [USA]"
Date: 7/11/19 8:38 PM (GMT+08:00) To:
java-user@lucene.apache.org Subject: Re: [External]
Hi all,
Using the code snippet:
ComplexPhraseQueryParser qp = new ComplexPhraseQueryParser(“somefield”, new
StandardAnalyzer());
String teststr = "\"Foo Bar\"~2";
Query queryToSearch = qp.parse(teststr);
System.out.println("Query : " + queryToSearch.toString());
System.out.prin
David,-
which version of Lucene are You using?
Best regards
On 10/21/19 1:31 PM, Shifflett, David [USA] wrote:
> Hi all,
> Using the code snippet:
> ComplexPhraseQueryParser qp = new
ComplexPhraseQueryParser(“somefield”, new StandardAnalyzer())
:\"j* smyth~\"~5", "1,2,3");
checkMatches("role:\"p* manager\" AND name:jack*", "4");
checkMatches("+role:developer +name:jack*", "");
- checkMatches("name:\"john smith\"~2 AND role:designer AND id:3"
ue, Oct 22, 2019 at 5:26 PM Shifflett, David [USA] <
shifflett_da...@bah.com> wrote:
> Mikhail,
>
> Thanks for running those tests.
> I haven’t looked into the test, but can you confirm it uses an analyzer
> with the lowercase filter?
>
Loo
I am using Lucene 8.2, but have also verified this on 8.9.
My query string is either ""by~1 word~1"", or ""ky~1 word~1"".
I am looking for a phrase of these 2 words, with potential 1 character
misspelling, or fuzziness.
I realize that 'by' is usually a stop word, that is why I also tested with
I am using Lucene 8.2, but have also verified this on 8.9 and 8.10.1.
My query string is either ""by~1 word~1"", or ""ky~1 word~1"".
I am looking for a phrase of these 2 words, with potential 1 character
misspelling, or fuzziness.
I realize that 'by' is usually a stop word, that is why I also test
I am using Lucene 8.2, but have also verified this on 8.9 and 8.10.1.
My query string is either ""by~1 word~1"", or ""ky~1 word~1"".
I am looking for a phrase of these 2 words, with potential 1 character
misspelling, or fuzziness.
I realize that 'by' is usually a stop word, that is why I also tes
Hi Uwe,
I am a little confused by your 2 statements.
> Lucene 9.x series requires JDK 11 to run
> The main branch is already on JDK 17
Will Lucene 9.x run on JDK 17?
Is 9.x 'the main branch'?
Thanks,
David Shifflett
Senior Lead Technologist
Enterprise Cross Domain Solutions (ECDS)
Booz Allen Ha
I am migrating my project’s usage of Lucene from 8.2 to 9.4.
The migration documentation has been very helpful,
but doesn’t help me resolve this exception:
‘Caused by: java.lang.IllegalArgumentException: A SPI class of type
org.apache.lucene.analysis.TokenizerFactory with name 'whitespace' does n
Hi,
I am converting my application from
reading documents into memory, then indexing the documents
to streaming the documents to be indexed.
I quickly found out this required that the field NOT be stored.
I then quickly found out that my highlighting code requires the field to be
stored.
I’ve be
Just to clarify,
Is there a highlighting option that doesn't require the text from the matched
document?
David Shifflett
On 11/17/22, 1:57 PM, "Shifflett, David [USA]"
wrote:
Hi,
I am converting my application from
reading documents into memory, then indexin
Hi,
I am converting my application from
reading documents into memory, then indexing the documents
to streaming the documents to be indexed.
I quickly found out this required that the field NOT be stored.
I then quickly found out that my highlighting code requires the field to
ted form. Otherwise what text would you
highlight?
On Mon, Feb 13, 2023 at 3:46 PM Shifflett, David [USA]
mailto:shifflett_da...@bah.com.inva>lid> wrote:
>
> Hi,
> I am converting my application from
> reading documents into memory, then indexing the documents
> to streaming t
18 matches
Mail list logo