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

Simplify configuration #10

Open
nolanlawson opened this issue Mar 25, 2013 · 2 comments
Open

Simplify configuration #10

nolanlawson opened this issue Mar 25, 2013 · 2 comments

Comments

@nolanlawson
Copy link
Member

Currently the XML configuration contains a lot of boilerplate (e.g. this example). A suggestion was made to change it to something more simplified, such as:

<queryParser name="synonym_edismax" class="solr.SynonymExpandingExtendedDismaxQParserPlugin">
  <str name="defaultDict">english</str>
  <lst name="dictionaries">
    <lst name="english">
      <str name="fieldType">synonym_type_en</str>
      <str name="useForFields">title *_en</str>
    </lst>
    <lst name="addresses">
      <str name="fieldType">synonym_type_addr</str>
      <str name="useForFields">street city state</str>
    </lst>
  </lst>
</queryparser>

Probably we still need some way to specify some of the parameters (such as the shingle sizes), but I can choose some sensible defaults such that most of the parameters wouldn't be necessary.

@janhoy
Copy link
Contributor

janhoy commented Jun 7, 2013

I've started to investigate this - think it is not too much work, have much of it wired already. Planning to support both old and new config format for some time.

@nolanlawson
Copy link
Member Author

Sounds great. Maintaining backwards compatibility, so that folks can upgrade without thinking about it, is awesome.

By the way, I've made you a collaborator on this project. I'll try to contribute when I can, and I'll let you know before I start on a particular issue, so that we don't step on each other's toes.

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

No branches or pull requests

2 participants