Re: Spell check with data from database and not from english dictionary

2020-01-27 Thread seeteshh
Hello Alessandra

Thanks for your post.

Thats what I am concerned about generating a file or reindexing as the data
in the database will keep on changing (adding or updating).

Can you share any links where it is configurable on Solr 8.4?

Regards,

Seetesh Hindlekar



-
Seetesh Hindlekar
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Need help in configuring Spell check in Apache Solr 8.4

2020-01-27 Thread seeteshh
Hello Kumar Gaurav

For IndexBasedSpellchecker is there a better option of using
org.apache.lucene.search.spell.LevensteinDistance as this is not valid in
Solr 8.4

This line seems to be commented in the Reference Guide

Regards,

Seetesh Hindlekar



-
Seetesh Hindlekar
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Need help in configuring Spell check in Apache Solr 8.4

2020-01-27 Thread seeteshh
My searchComponent is as follows

  
text_general

  default
  name
  solr.DirectSolrSpellChecker
  internal
  0.5
  2
  1
  5
  4
  0.01

   
 

wordbreak
solr.WordBreakSolrSpellChecker
name
true
true
10



  

and my requesthandler is



  
  name   
  default
  on
  true
  10
  5
  5
  true
  true
  10
  5


  spellcheck

  


Regards,

Seetesh Hindlekar



-
Seetesh Hindlekar
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Spell check with data from database and not from english dictionary

2020-01-29 Thread seeteshh
Hello Jan

Let me work on your suggestions too.

Also I had one query

While working on the spell check component, I dont any suggestion for the
incorrect word typed

example : In spellcheck.q,   I type "Teh" instead of "The" or "saa" instead
of "sea"

  "responseHeader":{
"status":0,
"QTime":0,
"params":{
  "spellcheck.q":"Teh",
  "spellcheck":"on",
  "spellcheck.reload":"true",
  "spellcheck.build":"true",
  "_":"1580287370193",
  "spellcheck.collate":"true"}},
  "command":"build",
  "response":{"numFound":0,"start":0,"docs":[]
  },
  "spellcheck":{
"suggestions":[],
"collations":[]}}

I have to create an entry in the synonyms.txt file for teh => The to make up
for this issue.

Does Solr require a 4 digit character in spellcheck.q to provide the proper
suggestion for the mis-spelt word? Is there any section in the Reference
guide  where it is documented? These are my findings/observations but need
to know the rationale behind this.

Regards,

Seetesh Hindlekar





-
Seetesh Hindlekar
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Update synonyms.txt file based on values in the database

2020-01-15 Thread seeteshh
How do I update the synonyms.txt file if the data is being fetched from a
database say PostgreSQL since I wont be able to update the synonmys.txt file
every time manually and also the data is related to a table and not known to
Solr.

I am using Apache Solr 8.4.

Regards,

Seetesh hindlekar



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Need help in configuring Spell check in Apache Solr 8.4

2020-01-20 Thread seeteshh
Hello all,

I am not able to check and test the spell check feature in Apache solr 8.4

Tried multiple examples including

https://examples.javacodegeeks.com/enterprise-java/apache-solr/solr-spellcheck-example/

However I am not getting any results 

Regards,

Seetesh Hindlekar



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Spell check with data from database and not from english dictionary

2020-01-22 Thread seeteshh
Hello all,

Can the spell check feature be configured with words/data fetched from a
database and not from the English dictionary?

Regards,

Seetesh Hindlekar



-
Seetesh Hindlekar
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html