marklogic-community / semantic-news-search

Apache License 2.0
10 stars 5 forks source link

Guide me to install application on Fedora linux25 & Marklogic 8 #3

Open DineshGuptaa opened 7 years ago

DineshGuptaa commented 7 years ago

Hi, I got this link from one of the Marklogic tutorial of youtube. But the code is looking too old and no updates from then. I have Marklogic 8 and want to learn facet triplet search.Please guide me how to install this sample on Fedora Linux system.

After performing installation step from1 to 4 there is no issue but it when I was trying to run step 5 it is asking me user name & password. I tried with same usr & password whatever I have given to admin.

Error as below:\ 500 Internal Server Error

SVC-FILSTAT: File status error: stat64 '/home/Dinesh/mlapp/semantic-news-search/src/main/xquery/ingestion/store-triples-as-properties.xqy': Permission denied in /ingestion/store-triples-as-properties.xqy [1.0-ml]

Thanks, Dinesh Gupta

DineshGuptaa commented 7 years ago

I have resolved the 500 Internal error by give permission on that directory. Now I can see only blank page

DineshGuptaa commented 7 years ago

If I am invoking below URL http://localhost:8021/search/ Than getting below error: 500 Internal Server Error

XDMP-FIELDRIDXNOTFOUND: cts:field-values("category", (), ("properties", "concurrent"), cts:document-fragment-query(cts:and-query(cts:collection-query("http://www.bbc.co.uk/news/content"), ())), xs:double("1"), ()) -- No field range index for category http://marklogic.com/collation/ in /lib/facet-lib.xqy, at 67:14, in xdmp:function(fn:QName("http://marklogic.com/sem-app/facet-lib","start"), "/lib/facet-lib.xqy")(properties..., cts:document-fragment-query(cts:and-query(cts:collection-query("http://www.bbc.co.uk/news/content"), ())), "properties", xs:double("1"), ()) [1.0-ml] $constraint = properties... $query = cts:document-fragment-query(cts:and-query(cts:collection-query("http://www.bbc.co.uk/news/content"), ())) $facet-options = "properties" $quality-weight = xs:double("1") $forests = () $facet-name = attribute{fn:QName("","name")}{"cat"} $index-name = "category"