You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I've noticed with the plugin a problem like what was happening in issue #38.
If a query is broad - with matches on many synonym groups - then the plugin will start expanding too many synonyms which causes the Java heap memory to be consumed too rapidly, eventually resulting in a out of memory exception. Even if this query succeeds, the request takes a long time to process (request time > 5 seconds).
The linked issues suggests using the synonyms.bag=true flag which seems to keep the memory usage down, but are there any downsides to using that flag?
I've tested this under Solr.6.0.0 with the hon-lucene-synonyms-5.0.5.jar file. Here is the query and synonyms that seem to trigger this problem.
I've tried using the synonyms.bag flag, but it doesn't return results with the same precision as without it, and I really need the extra precision. Queries that contain only one term seem to work fine, but when the query has two or three terms, it doesn't have the same precision as it did when not using the synonyms.bag flag.
i have also a same problem If a query is broad it matches on many synonym groups - then the plugin will start expanding too many synonyms which causes memory and performance
I actually implemented the synonyms.bag flag. But I just saw @yogeshk-ezdi comment and wanted to point out that I tend to use this plugin instead of hon-lucene-synonyms these days. I've had better luck being more precise with synonym expansion which has helped me control memory usage. More at this blog
Hello! I've noticed with the plugin a problem like what was happening in issue #38.
If a query is broad - with matches on many synonym groups - then the plugin will start expanding too many synonyms which causes the Java heap memory to be consumed too rapidly, eventually resulting in a out of memory exception. Even if this query succeeds, the request takes a long time to process (request time > 5 seconds).
The linked issues suggests using the synonyms.bag=true flag which seems to keep the memory usage down, but are there any downsides to using that flag?
I've tested this under Solr.6.0.0 with the hon-lucene-synonyms-5.0.5.jar file. Here is the query and synonyms that seem to trigger this problem.
Query
Synonyms.txt
The text was updated successfully, but these errors were encountered: