cpoerschke opened a new pull request, #1073: URL: https://github.com/apache/solr/pull/1073
Highly experimental and rather partial e.g. `Bert.load(modelFile)` has lots of issues finding the dependencies, the code is incomplete and there is no documentation as yet. Sharing as-is draft all the same. ## Outline Use https://github.com/robrua/easy-bert for plugging BERT models into Solr. ### Search something e.g. `{!bert_knn f=vector}foobar` as alternative to `{!knn f=vector}[1.0, 2.0, 3.0, ...]` via `solrconfig.xml` ``` <queryParser name="bert_knn" class="org.apache.solr.bert.search.BertKnnQParserPlugin" > <str name="modelFile">pathToModelFile</str> </queryParser> ``` ### Indexing (not yet part of this pull request) something (update processor?) to do vector computation inside Solr ``` <updateProcessor class="org.apache.solr.bert.index.BertUpdateProcessorFactory" name="bert"> <str name="inputField">headline</str> <str name="outputField">headline_vector</str> </updateProcessor> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
