Hi,
I have a question regarding AnalyzingInfixSuggester.
Suppose I have an indexed term with the word: Lucene
And I query Luc!!!
Even In this case I would want lucene to suggest me Lucene, because at the
analyzer level I am handling cleaning the query part. The Analyzer would remove
the ! and
I am using Lucene to perform spell checking. I am using
https://lucene.apache.org/core/5_4_1/suggest/org/apache/lucene/search/spell/SpellChecker.html
What I really want is, for example, I have a word:
spellingmistake
And now I type:
speli.
In this case, I want to spellchecker to return me the
Hi Aakanksha,
You will need to use a boolean query to do this. In the boolean query first,
add a clause for the distance attribute using MUST clause and then add another
timestamp query MUST clause.
Use this:
https://lucene.apache.org/core/6_1_0/core/org/apache/lucene/search/BooleanQuery.html
index is not a good idea in general.
On Thu, Aug 24, 2017 at 6:40 AM, Sidhant Aggarwal wrote:
Hi,
To manage my indexes I am using the SearcherTaxonomyManager. But the way
in changing the indexes is slightly different.
Say i have my main search index in /index directory and my taxonomy ind
Hi,
To manage my indexes I am using the SearcherTaxonomyManager. But the way in
changing the indexes is slightly different.
Say i have my main search index in /index directory and my taxonomy index in
/taxo directory. So periodically i just replace these two directories with
newer indexes. Aft
Hi,
Im using the AnalyzingInfixSuggester for my autocomplete.
So i have a singleton object where I am opening the suggester and keeping the
references. Many threads are accessing these references and performing
searches. But what i want to do is that my underlying directory where the index
is
Hi,
I have a e-commerce search engine. In this in each document i want to store
custom score of each product. And further the score of each product would
depend on in which category the product was searched on.
So as this is part of scoring i will be storing this data as doc values. Now i
hav
Hi,
Im using analyzing infix suggestor. I have a use case for which i cant find a
solution to so if anyone can help me out with that.
Suppose i index two terms :-
abc
abc def
And both these terms were indexed with the same weight.
Now suppose in my query i type abc i want the exact match to be
Another Update:
I am also observing that in BlockGroupongCollector if i sort by INDEX_ORDER and
make needs score true then my scorer is called once and i am still getting each
doc score. But when i change the Sort to RELEVANCE the scorer is called twice.
On Jan 16, 2017, at 12:18 PM, Sidhant
Im trying to use the BlockGroupingCollector to get grouped results when
searching in Lucene. I had indexed my doucments using the addDocuments function
in IndexWriter and also added a group separator at the end of each group.
Using this code:
val groupEndDocs = new TermQuery(new Term("groupEnd
10 matches
Mail list logo