Closed (outdated)
Project:
Bibliography Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2013 at 00:17 UTC
Updated:
4 Feb 2019 at 19:17 UTC
Jump to comment: Most recent
Comments
Comment #1
rjerome commentedYou're not the first to say they aren't indexed, but they should be.
You might want to check on the 'admin/config/content/biblio' page in the "Search" section to see if the "Re-/Index a biblio node when creating or updating." box is checked. If it's not, then the biblio data will only get indexed via cron runs.
By the way, I'm assuming you are using the 7.x-1.x branch, otherwise all bets are off.
Ron.
Comment #2
tobik-1 commentedI would also like to index fields of the Biblio module using the Search API (not Drupal core search), but it seems impossible to me.
- When adding/creating an index an Item type "biblio" can not be chosen.
- When I use my existent index of Item type "node" I cannot add the biblio fields under "add related fields".
- As a result I cannot include biblio fields in the filters.
Is this integration of the Biblio and the Search API module not possible or am I missing something?
Any help appreciated!
Comment #3
rjerome commentedSorry, I missed the fact that we were talking about the Search API here. I'll look into it.
Comment #4
mikemadison commentedI have a temp. work around for this, where I copy biblio fields into normal fields using hook_cron. It's messy, but it does put the content in a place where it is index-able.
The module basically just iterates through the Biblio nodes, grabs the stuff I want to index and moves it over. I have field permissions configured for these fields so that I never have to worry about a user updating the wrong keywords fields.
Like I said, messy, but a temporary solution that seems to be working.
Comment #5
azin commented@rjerome, did you look at this?
https://github.com/unb-libraries/biblio_search_api
Comment #6
tobik-1 commentedThanks, biblio_search_api solved the problem for us. Now we just need to figure out how we can filter authors by drupal users (the connection in biblio doesn't seem to be sufficient).
Comment #7
azin commented@tobik, we will be working on this, post a patch here if you find a solution?
I see I can index authors and keywords as fulltext and string, but guess they need to be treated differently?
Comment #8
tobik-1 commentedOk the problem seems to be that biblio_search_api only indexes the attributes in the biblio_fields table. The Biblio Author ID (or contributor id / cid) is stored in the biblio_contributor table, however. Can you adapt the module to index the cid, as well?
Comment #9
tobik-1 commentedIt turns out that I have thought too complicated. Filtering biblio publications by drupal users linked with biblio authors already works fine, when using author full name. Thanks for the module in #5!
Comment #10
azin commented@tobik, This module works well with all data in biblio table, I am using it on a 100,000+ document site, keywords and authors are stored in linked tables, and the both don't work with facetapi.
Also, are you able to see biblio_facets as a Search API Field setting? I don't seem to be able to index Biblio Types.
Comment #11
mikemadison commentedThe module in #5 seems to be working, although keywords and authors are a little wonky. Thanks for the post!
Comment #12
azin commentedI have a lot of errors like
Notice: Undefined property: stdClass::$biblio_tid in biblio_handler_field->set_label() (line 54 of /var/www/html/sites/all/modules/biblio/views/biblio_handler_field.inc).Comment #13
azin commentedhttps://drupal.org/sandbox/jacobsanford/2150745
Comment #14
amitaibufyi, in Biblio 3.x the properties are converted to fields, so the integration with search API is for free.
Comment #15
azin commented@Amitaibu will Biblio 3.x move to Drupal.org, and do you recommend migrating from 7.1x to 3.x already?
Comment #16
amitaibu3.x is now in Drupal.org
Comment #17
Jaya M commentedI could use Features and Spaces modules to create faceted search option for biblio-1.x version. Followed steps from open scholar.
Comment #18
rcodinaAny news on this?
Comment #19
rcodinaAnyone uses 3.x-dev? Is it stable?
Comment #20
candelas commented@rcodina, I doubt too if to actualize from 1.x.-dev to 3.x-dev...
Comment #21
mithaniel commentedsorry i have this problem. I need to Allow Biblio Fields to be indexed by Search API.
I cant understand the module i have to install(the links are broken) and how to appear the Biblio fields in my search API.
i cant find the module "biblio_search_api" for 7.x.1 from here https://www.drupal.org/project/2150745/git-instructions
I need help pls!!!
Comment #22
liam morlandBibliography Module 7.x-2.x is not being developed. If this issue applies to a maintained branch, please re-open and move it to that branch.