Coder Social home page Coder Social logo

Comments (9)

dmcassel avatar dmcassel commented on September 4, 2024

See https://github.com/marklogic-community/RunDMC/blob/master/src/model/data-access.xqy#L405-L428. When searching on docs, $is-api is true.

from rundmc.

kcoleman-marklogic avatar kcoleman-marklogic commented on September 4, 2024

Thanks for the pointer, @dmcassel . This line of that function looks particularly suspect:

https://github.com/marklogic-community/RunDMC/blob/master/src/model/data-access.xqy#L419

from rundmc.

dmcassel avatar dmcassel commented on September 4, 2024

agreed

from rundmc.

kcoleman-marklogic avatar kcoleman-marklogic commented on September 4, 2024

Confirmed that this is the way to fix the basic search problem.

The other half of this is to make the facets work. Currently, the hits in the jsdoc show up under a "Miscellaneous Pages" facet, which isn't very friendly of them. I think I know how and where to fix this, from chasing down how the Java Client facets work.

from rundmc.

kcoleman-marklogic avatar kcoleman-marklogic commented on September 4, 2024

I have a fix in hand. Waiting to hear back from Greg Nist if he wants his team to review it since it touches on the shared search code, rather than being specific to the doc portion of the app.

WRT facets, I got the facets working, but I punted on the facet icon. I just reused the folder icon that's the fallback icon. I refuse to get into hunting down some spiffy Node.js icon and adding it to the app.

from rundmc.

gregnist avatar gregnist commented on September 4, 2024

I have reviewed the code change and agree that it looks good. I also agree with your decision not to change the icon. Thanks!

from rundmc.

kcoleman-marklogic avatar kcoleman-marklogic commented on September 4, 2024

@gregnist I haven't checked my changes in yet or put together a pull request, so that's pretty impressive. ;)

I was waiting to hear back whether you wanted to review the changes or not. Since you do, I'll submit a pull request and notify you. Thanks!

from rundmc.

kcoleman-marklogic avatar kcoleman-marklogic commented on September 4, 2024

@gregnist The pull request is here, if you would like to take a look.

#750

Not sure how I managed not to attach it to this issue. Idiot loose on the keyboard. Anyway, if you're OK with it, I'll merge it. It'll go on the docapp branch for now, but I'll be merging docapp out to master in a couple days, in preparation for 9.0-4.

from rundmc.

kcoleman-marklogic avatar kcoleman-marklogic commented on September 4, 2024

Deployed and tested on pubs. Fix will be pushed with 9.0-4.

from rundmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.