Hello everyone,

we have a research group that deals with searching in MathML documents and
we have created search application that is build upon Lucene. We would like
to take functionality we already have and implement it into new DSpace5.
These are the step we've made so far :

1. put required libraries as maven dependencies
2. created custom metadata schema with our prefix
3. created custom metadata field in which content is stored
4. modified dspace/config/spring/api/discovery.xml where we created new
bean for this field (as described in documentation)
5. modified dspace/solr/search/conf/schema.xml where we add our custom
field with custom type (which calls proper tokenizer) and similarity class.

Now when we have imported few test documents everything seems to work so
far as intended. We can see that our analyzer as part of Solr is working
correctly, as we can see the proper output in Logging, even browsing the
index with Luke is ok. Now what is not working is search itself. Simple use
case scenario (DSpace5/xmlui) is as follows: Open Dspace home page ~>
advanced search ~> add filter ~> select our custom field.

We add our desired input (mathml formula) into math input and hit search,
which returns no result, even though at least one document should be
matched. Looking at Solr logs, search was performed as MathML input was
converted via tokenizer into desired output. Even when running the query
manually via Solr admin we get the result, but DSpace returns nothing.

The question is whether we missed something, and whether it is the reason
we don't receive any results. Later on we would like to release this as
plugin, or core functionality of DSpace as there are clearly people using
DSpace with some MathML content (eg. DS-635), so any help on this would be
greatly appreciated.

Regards Dominik.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to