Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Impl mapping for solr fields #17

Merged
merged 1 commit into from Dec 12, 2013
Merged

Impl mapping for solr fields #17

merged 1 commit into from Dec 12, 2013

Conversation

ajs6f
Copy link
Contributor

@ajs6f ajs6f commented Dec 8, 2013

@ghost ghost assigned awoods Dec 8, 2013
@awoods
Copy link

awoods commented Dec 11, 2013

I will review this PR this evening... and hopefully merge.

@ajs6f
Copy link
Contributor Author

ajs6f commented Dec 11, 2013

Thanks!

LOGGER.debug("Parsed SolrInputDocument: {}", inputDoc);
doc.close();

// add the identifier of the resource as a unique index-key
inputDoc.addField("id", pid);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point, we should probably make the unique key field configurable. Not important for this PR, but..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I think of two stages:

  1. Spring-config'd ID. I can add another commit if you think it worthwhile.
  2. Indexer reads the Solr schema and inspects for unique ID as well as other interesting info. (Much later.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing 1 would be nice of us, but not essential. If it's a 5 minute change, I'd say do it. If it's harder than that, ship it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make a ticket?

document (Solr document) based on messaging emitted from an F4
repository

Implement customizable search index design (https://wiki.duraspace.org/display/FF/Design+-+Customizable+Search+Index)

Also, allow asynchronous or synchronous indexing patterns for both Solr
and SPARQL indexing.
@cbeer
Copy link
Contributor

cbeer commented Dec 12, 2013

Squashed. I'm going to let travis check the build and then merge it.

cbeer added a commit that referenced this pull request Dec 12, 2013
@cbeer cbeer merged commit c23a13a into master Dec 12, 2013
@cbeer cbeer deleted the ImplMappingForSolrFields branch December 12, 2013 19:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants