Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
V
venjob
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Xuan Trung Le
  • venjob
  • Merge Requests
  • !10

Merged
Opened Nov 13, 2017 by Xuan Trung Le@trunglx 
  • Report abuse
Report abuse

install rsolr

after installing rsolr I have inserted data from db into rsolr.

  • Discussion 2
  • Commits 2
  • Changes 6
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Nov 15, 2017
    Resolved by Xuan Trung Le Nov 17, 2017
    app/models/job.rb
    65 65 def self.filter_link_exist(links)
    66 66 return links - Job.where(original_link: links).pluck(:original_link)
    67 67 end
    68
    69 # Rsolr
    70 def self.get_data_for_solr
    71 Job.select(:id, :name, :salary, :description, :company_id, )
    • Ba Toi Dang @toidb commented Nov 15, 2017
      Master

      @trunglx remove the last comma Job.select(:id, :name, :salary, :description, :company_id, ) => Job.select(:id, :name, :salary, :description, :company_id)

      Edited Nov 15, 2017 by Ba Toi Dang
      @trunglx remove the last comma `Job.select(:id, :name, :salary, :description, :company_id, )` => `Job.select(:id, :name, :salary, :description, :company_id)`
    • Xuan Trung Le @trunglx

      changed this line in version 3 of the diff

      Nov 17, 2017

      changed this line in version 3 of the diff

      changed this line in [version 3 of the diff](https://gitlab.zigexn.vn/trunglx/venjob/merge_requests/10/diffs?diff_id=3866&start_sha=1692d521146f1de203475f8d67e7d47c72e20a60#742abd5cbc2b12d2da315862ace6297c7d6dcb87_72_72)
      Toggle commit list
    Please register or sign in to reply
  • Ba Toi Dang
    @toidb started a discussion on an old version of the diff Nov 15, 2017
    Last updated by Xuan Trung Le Nov 17, 2017
    config/settings.yml
    3 3 job_per_page: 5
    4 4 industry_per_page: 9
    5 5 city_per_page: 9
    6
    6 rsolr:
    7 url: 'http://localhost:8983/solr/my_solr_collection'
    • Ba Toi Dang @toidb commented Nov 15, 2017
      Master

      @trunglx please rename collection.

      @trunglx please rename collection.
    • Xuan Trung Le @trunglx

      changed this line in version 2 of the diff

      Nov 17, 2017

      changed this line in version 2 of the diff

      changed this line in [version 2 of the diff](https://gitlab.zigexn.vn/trunglx/venjob/merge_requests/10/diffs?diff_id=3865&start_sha=edd2d6ceb053b7ad828a89309413e0d755496637#cda236de78a3f32662f376c6d280f79ffc33ccd3_7_6)
      Toggle commit list
    Please register or sign in to reply
  • Xuan Trung Le @trunglx

    added 22 commits

    • edd2d6ce...b94adaf7 - 21 commits from branch master
    • 1692d521 - install rsolr

    Compare with previous version

    Nov 17, 2017

    added 22 commits

    • edd2d6ce...b94adaf7 - 21 commits from branch master
    • 1692d521 - install rsolr

    Compare with previous version

    added 22 commits * edd2d6ce...b94adaf7 - 21 commits from branch `master` * 1692d521 - install rsolr [Compare with previous version](https://gitlab.zigexn.vn/trunglx/venjob/merge_requests/10/diffs?diff_id=3865&start_sha=edd2d6ceb053b7ad828a89309413e0d755496637)
    Toggle commit list
  • Xuan Trung Le @trunglx

    added 1 commit

    • aa51d253 - fix bugs

    Compare with previous version

    Nov 17, 2017

    added 1 commit

    • aa51d253 - fix bugs

    Compare with previous version

    added 1 commit * aa51d253 - fix bugs [Compare with previous version](https://gitlab.zigexn.vn/trunglx/venjob/merge_requests/10/diffs?diff_id=3866&start_sha=1692d521146f1de203475f8d67e7d47c72e20a60)
    Toggle commit list
  • Ba Toi Dang @toidb

    mentioned in commit df28a349

    Nov 17, 2017

    mentioned in commit df28a349

    mentioned in commit df28a3498a0fffb0c7cd1fc5845b57a69c9903b8
    Toggle commit list
  • Ba Toi Dang @toidb

    merged

    Nov 17, 2017

    merged

    merged
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
2
2 participants
Reference: trunglx/venjob!10
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.