8 Replies Latest reply: May 21, 2014 5:45 AM by TangoKilo RSS

    Frustration: Cannot "edit" Solr collections?

    WolfShade Community Member

      Hello, everyone.

       

      When Solr collections were first introduced in ColdFusion Server, the one thing that really irritated me was the fact that you cannot edit a Solr collection (ie, when you click on a collection in CFAdmin, you are given a default template with ".htm, .html, .cfm, .cfml" as the documents to index - you can't see what's currently there and add/remove anything.)

       

      I thought I had heard (guess they were rumours) that CF10 was supposed to give you the ability to alter the index.  I'm running CF10, and it's the same as CF9 - clicking a collection gives default options, not the ability to add/remove document extensions.

       

      Is there a fix for this??  We have collections that were originally created a long time ago that were not documented what they are supposed to be indexing, and we have no idea of what to do if we need to change something.

       

      V/r,

       

      ^_^

        • 1. Re: Frustration: Cannot "edit" Solr collections?
          Charlie Arehart CommunityMVP

          I don’t know for sure, but have you checked to see if CFCollection (the tag used for creating/managing collections, as an alternative to the Admin) might have more flexibility for you? Worth a check.

           

           

           

          /charlie

          • 2. Re: Frustration: Cannot "edit" Solr collections?
            WolfShade Community Member

            Hi, Charlie,

             

            Thanks for the reply.  But CFCOLLECTION can only help if I know what's being indexed.  For the Solr collections that we have in production, I personally know what to index in seven of them.  Three can be guessed, somewhat.  The rest, no one knows what is being indexed (it was never documented, and the developer who originally created them has "moved on to greener pastures".)

             

            ^_^

            • 3. Re: Frustration: Cannot "edit" Solr collections?
              Lynux Community Member

              can you log into the solr server and check the indexes in there?. I know I can login (outside of CF), as i've done it here. Can't recall if if gives you more info, it would I'd imagine.

              • 4. Re: Frustration: Cannot "edit" Solr collections?
                WolfShade Community Member

                Hi, Lynux.

                 

                I can do nothing from within CFAdmin that will indicate what is being indexed in any collection.  There was a time when you could log in through a port, but that turned into a security issue, so the fix was to disable remoting into that port number, so I can't remotely log in to check, if there is any way of determining what's indexed, that way.

                 

                V/r,

                 

                ^_^

                • 5. Re: Frustration: Cannot "edit" Solr collections?
                  Lynux Community Member

                  Strange admins if they need to lock you on on the internal network, normal to firewall external traffic but internet is pointless, its supposed to be a secure network isnt it?, so only "good guys" should be on the network anyway. Sorry I dont think there is anything you can do if its locked down like this.

                  • 6. Re: Frustration: Cannot "edit" Solr collections?
                    WolfShade Community Member

                    I'm running CF on my dev machine, so despite the lockdown, I did some looking around and tried browsing to http://127.0.0.1:8983/solr and got nothing.  Then I viewed the jetty.xml file, and it turns out that they switched to port 8985, so I tried that.  Success.. I can access the Solr server directly.  However, I'm looking around at everything, and I'm not finding anywhere in the Solr admin that will tell me what is being indexed in these Solr collections.  If you know where that might be indicated, I might be able to document what collections in production are indexing.  (Correction: I can pass that along to the production SA and let him figure it out.  )

                     

                    Thank you,

                     

                    ^_^

                    • 7. Re: Frustration: Cannot "edit" Solr collections?
                      WolfShade Community Member

                      WolfShade wrote:

                       

                      I'm looking around at everything, and I'm not finding anywhere in the Solr admin that will tell me what is being indexed in these Solr collections. 

                      Does anyone know if it's possible to see what is being indexed by looking at the Solr Server admin?

                       

                      V/r,

                       

                      ^_^

                      • 8. Re: Frustration: Cannot "edit" Solr collections?
                        TangoKilo

                        Hey WolfShade,

                         

                        Have you found your answer?

                         

                        If not, have you looked on the Solr admin page under the core you have, look at [stats] and [core] from there... is that what you are after?

                         

                        I have been dealing with an overzealous security enviornement as well for a long time, it really does make development and reverse engineering much more difficult than it needs to be...

                         

                        goold luck, TK