Giter Site home page Giter Site logo

Comments (4)

rnewson avatar rnewson commented on May 27, 2024

Good point. It's currently missing. It existed before because all databases were indexed into the same Lucene index. Now that each view is a separate index, it's no longer needed.

from couchdb-lucene.

koos303 avatar koos303 commented on May 27, 2024

Ok, I see the code in the older branches now, thanks. My use case is that I have two databases which contain two identical design documents, so the indexes are "shared" / have the same name.

I changed the toDocument() function in the RhinoDocument class to give back the database name, along with all the other fields. I don't know if this will work/hold for my prototype, I still could end up with separate indexes..

[edit]
This isn't going to work, because indexes now have a unique path name if i'm correct? So, back to the drawing board!

from couchdb-lucene.

rnewson avatar rnewson commented on May 27, 2024

the url for the query includes the database name, so including it in the index is redundant.

from couchdb-lucene.

koos303 avatar koos303 commented on May 27, 2024

When using the 0.4 release i could get results back from another database, because the design documents had the same name. That's why i needed the _db field.

I now have one database for lucene searching, which is being filled by parsing the other databases. This works quite nicely and i don't have to patch anything

from couchdb-lucene.

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.