Giter Site home page Giter Site logo

Comments (7)

peavers avatar peavers commented on August 15, 2024

Further to note: When executing the query for John S via the Solr admin panel, I get the exact results I'm expecting. The only thing I can think of so far is how the query is encoded before being sent through to Solr. Specifically the %2B being added?

from silverstripe-fulltextsearch.

dhensby avatar dhensby commented on August 15, 2024

@tractorcow any ideas?

from silverstripe-fulltextsearch.

tractorcow avatar tractorcow commented on August 15, 2024

Could it be

$this->addCopyField('Person_AuthorName', 'AuthorsPre');

Missing the fix from AuthorsPrefix?

from silverstripe-fulltextsearch.

peavers avatar peavers commented on August 15, 2024

No because AuthorsPre is the name of the field in the Definitions file, which uses the AuthorsPrefix type.

from silverstripe-fulltextsearch.

am071092 avatar am071092 commented on August 15, 2024

Any update on this? Facing the same issue

from silverstripe-fulltextsearch.

Firesphere avatar Firesphere commented on August 15, 2024

Yes, I think @peavers is on the right track. The %2B and + sign are possibly the cause of this, converting + in to +%2B, which should not happen usually.

I think I have a fix somewhere, but it's pretty ugly

from silverstripe-fulltextsearch.

am071092 avatar am071092 commented on August 15, 2024

It wasn't working for me because of the missing quotes in After: #cwpsearch. The doc needs to be updated.
https://github.com/silverstripe/cwp/blob/master/docs/en/02_Features/01_Solr_search/07_Searching_documents.md


Name: mysearchconfig
After: #cwpsearch

SilverStripe\Core\Injector\Injector:
CWP\Search\CwpSearchEngine.search_index:
class: MySolrSearchIndex

from silverstripe-fulltextsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.