Code Monkey home page Code Monkey logo

Comments (6)

marc-farre avatar marc-farre commented on August 17, 2024

The problem seems to arrive when there is a space char in the zip. Because if the user adds a space after the zip, he will not be indexed in the search engine, even with a classic zip code. Ex: "75000 " (space char à the end)

from enterprise-issues.

luke- avatar luke- commented on August 17, 2024

Unfortunately I cannot reproduce the problem. (The update of the search index runs delayed as a background job.)

Can you please try to rebuild the search index at "Administration -> Information -> Database -> Rebuild Search index" and try again?

from enterprise-issues.

marc-farre avatar marc-farre commented on August 17, 2024

I can confirm that just adding a space in the zip field and rebuilding using php yii search/rebuild or "Administration -> Information -> Database -> Rebuild Search index" produce the problem.
And removing the space and rebuilding fixes the problem.

I forgot to mention that the search engine is SOLR version 6.

from enterprise-issues.

marc-farre avatar marc-farre commented on August 17, 2024

I had a try without SOLR and the problem doesn't occurs.
So this problem happens with SOLR.
So I have renamed the title of this issue.

from enterprise-issues.

luke- avatar luke- commented on August 17, 2024

Can you please check which field type the ZIP field got within the SOLR index?

Which SOLR server version do you use?

from enterprise-issues.

marc-farre avatar marc-farre commented on August 17, 2024

It's the native Humhub's zip field (internal name = zip), so "text" with max length = 10 and no validator
SOLR 6.6.5
Thanks !

from enterprise-issues.

Related Issues (10)

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.