Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help on finding logs after synonym expansion for solr #82

Open
sibasishpalo opened this issue Jan 16, 2018 · 2 comments
Open

Need help on finding logs after synonym expansion for solr #82

sibasishpalo opened this issue Jan 16, 2018 · 2 comments

Comments

@sibasishpalo
Copy link

below is my configuration
synonyms=true
synonyms.constructPhrases=true
synonyms.ignoreQueryOperators=true
synonyms.analyzer=la_eng_us
synonyms.bag=true

so after synonym expansion happens it will make a request to solr to search for the documents

is it possible to see the final queries after the synonym expansion happens
if yes can you please point me to the place where i can check that.

and also synonyms.bag=false will there be any performance implication if the search query have more words having synonyms.

Regards
Sibasish

@sibasishpalo
Copy link
Author

Hi

Can someone please help on this.

Regards
Sibasish

@Mykezero
Copy link
Contributor

Mykezero commented Feb 8, 2018

@sibasishpalo I don't think the final query that's submitted to Solr is logged anywhere.

If you wanted to see what synonyms were expanded, you could use the debugQuery=true option: this would show the expanded queries in the "expandedSynonyms" section.

http://localhost:8983/solr/core-name/select?debugQuery=true&indent=on&q=tabletent

You'd probably have run Eclipse and use breakpoints to get this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants