Skip to content

Searching not working entirely... #67

@Znow

Description

@Znow

Hi

I'm using this gem on an existing Refinery project. The project has a loads of custom engines, pretty standard stuff.

The "Point" engine has a "project_external_id" field.

# encoding: UTF-8

module Refinery
  module Wayfinders
    class Point < Refinery::Core::BaseModel
      acts_as_indexed :fields => [:number, :project_external_id]
    end
  end
end

In my local db, I have at least 10 records, with project_external_id set to "760".

But, when I try search for "760", I get no search results.

Then I try to search for ex. "714", which is another project_external_id, and then I get 1 result for "714", and the actually all the results for "760"

image

If I clear out the search, I can see all the records belonging to "714" just fine.

image

This doesn't make any sense.

On another version of the same app, running an earlier version of Refinery and therefore using refinery-search 2.1.0, then the search for "760" works just fine:

image

What is happening?

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions