CF9/Solr: limitation of the cfindex custom fields

On CF9, using Solr, I am indexing a database query, but as Verity in the present and previous versions of the CF, there is a limitation on the number of custom fields that I can index.  I know that the limitation is with the cfindex tag Solr is able to index whatever fields are specified in the schema.xml file.

A solution, I have in mind is to change the schema.xml file by adding all custom fields, I need and can index my content using Solr (post.jar?) instead of cfindex.  The cfsearch tag should return any new fields, not only the more personalized 4.  Has anyone tried to do this?  Should what command I call to index content directly through Solr?

Alternatively, does anyone else have other suggestions for workaround?

Thank you

-Jose

Depending on your needs, you may be too complicate things.  Simply because that offers only CUSTOM1... CUSTOM4 does not mean that you must only have a subkey by CUSTOMn attribute value.  You can put whatever you want in these values, for example: lists the subkeys; serialized structs or keys, etc.

I agree that it is less than ideal of how Solr support has been implemented, but you will probably be able to get to work for you in this case.

--

Adam

Tags: ColdFusion

Similar Questions

  • Is it possible for 2 or more FxV strike filters to change the same custom field?

    Hello

    is it possible to have 2 (or more) FxV hit update the same custom field filters?  I know that the filters 2 or more successful can update the same metric, but not what I need.

    I have a filter tube set for each stage of a procurement process of several steps (such as beginning, calculateOrder, processPmt).

    In the first filter of success, I have extracted something similar to a username.  That the same info is in the other two hit filters for each step of the process.  If the FxV user performs a search on the 3rd filter, that is processPmt, then in results research they won't see all of the data that in are extracted by the first hit (start) filter.   So I tried to add a custom field to the 3rd hit filters which also extracts the data of the user ID and her add her to the same custom field, but it won't let me because this field is already used.

    ideas?

    THX

    "mark".

    Mark,

    I can be missing what you are trying to do, but you should be able to use a custom field in another filter of success.  You want to ensure that you choose the name already in use, as opposed to the 'new custom field".  So for the update/addition to hit the 'user name' field, you'd like this screenshot.

    You set the condition and choose setting the value to append or reset as you wish.  And then save the filter hit.

    Was what you were trying to do, or something else?

    Jeff

  • questions about the limits of the documented customer

    I've implemented a 1.4.2 Server hive so my boss could test and then sent him the end user PDF. Given that we are currently using Oracle calendar independent, we are mainly interested to test the component of management of the hive and generally by CalDAV clients.

    The end user guide mentions some pretty severe limitations, however. In particular

    -only support up to 250 meetings by calendar. It's like a week for my boss. ;-)

    -only access a month for meetings.

    These two alone limits severely hamper the product. Why the limitations, and are there plans to remove?

    Also, how do you research availability via a CalDAV client, as Sunbird?

    How you search for other users, to be able to schedule a meeting with them?


    We are really interested in hive since it claims the purpose is to allow the use of customers based on open standards, but some limitations in the current offer are quite severe. We are looking for some kind of confirmation that these questions are on the roadmap to deal with.

    Thank you

    Tim

    Hi Tim,.
    Some inline comments

    >
    ...

    -only support up to 250 meetings by calendar. It's like a week for my boss. ;-)

    The doc is not too descriptive, is it :)
    The limit is not a limitation of server in itself, but rather a limit and it is based on each customer type.
    Basically, the test found that while some caldav clients manage a large number of meetings nicely other caldav clients do well. Hive so put a (configurable) limit on the number of meetings returned for each type of client caldav. Note that the 'meeting' includes, in this case, all occurrences of a meeting, so if for example you have 20 meetings that recur every week for a year which is counted as '20' not 20 "x 52" meetings. "."
    I think that the restriction is higher for iCal on Mac than for example sunbird and lightning. In addition, as customers improve their scalability and the handling of the large number of meetings, then the default limits will be increased accordingly.
    If you (or your boss) is absent from meetings for example sunbird, then please contact oracle support and they will explain how to increase this limit for the customer to your boss (for purposes of diagnosability, they'll miss 'this week' rather than going out in the future). I do not know the results of the latest tests for example lightning 0.9, but I suspect that 1000 is probably still too high.
    Even with a busy schedule, 250 meetings is not bad. The only time I've seen people hit is when they have a value of no repetitive days many years (for example, ten years vacation value for several countries where Christmas day is not "is repeated every year", but is rather 10 individual sessions / days.)

    >

    -only access a month for meetings.

    I don't think this is no longer true. In previous versions, the solution to the above question has been to limit the number of meetings returned by 'period' rather than. In more recent versions, it is limited by the County instead. I'm now looking at my calendar in lightning 0.9 for September last year and it seems fairly comprehensive (although June isn't very complete...)
    >

    These two alone limits severely hamper the product. Why the limitations, and are there plans to remove?

    Also, how do you research availability via a CalDAV client, as Sunbird?

    Click on the "invite guests" in the dialog box "new appointment". Enter the email addresses of the guests and availability should complete automatically. There is also a button "search time slot" that you will find time each other.

    How you search for other users, to be able to schedule a meeting with them?

    It's more complicated... If you use lightning, then he will pull email addresses for automatic filling of your thunderbird addressbook. If you use iCal I think he draws from the mac address book. In Sunbird, you will need to know the email addresses of the people.

    hope that helps.
    Kind regards
    Richard

  • With the help of IFNULL returns failure on the Date for the occasion Custom field

    I want to use the IFNULL statement to automatically fill in a date field when nothing is added. I want to use
    IFNULL ("-custom attributes opportunity".) DATE_28, January 1, 2009 "), but it returns the error message: [nQSError: 46033] data type: 25 is not supported." (HY000)
    Apparently the value January 1, 2009 "is not recognized as a valid date format. All solutions?
    Kind regards
    Jan

    Hi, if you want to convert that date then

    IFNULL ("-custom attributes opportunity".) DATE_26, DATE '' 2006-01-01)

    -John CRMIT

  • verification code 422 - what are the limits of the JVM?

    Hello

    I'm porting an application for BlackBerry 8900 using his emulator via the eclipse plugin. The application is large enough, it contains a lot of classes, some of them use a lot of static fields (mainly in the form: public final static String xxx = "yyy") and some here and there of the static methods.

    I ran into issues when I tried to run the application: 422 to xxxxx offset verification code.

    I found a few posts on the forum about this problem, but I have seen no clear solution. Someone has suggested that the source of the problem is the static methods/fields and proposed to refactor our source code to avoid using static fields. I followed technical debugging what he suggested, but it does not solve my problem. The error logged in the file '8900.bug' has changed of pointing on my course to point to the SDK classes ('Module 'net_rim_cldc_impl_softtoken' has verification errors"and"Module "net_rim_rimsecuridlib" contains errors of audit").

    I think that these errors are due to the limitations of black Berry JVM.

    I did a test program memory to display the amoungt of free memory (using "Runtime.getRuntime () .freeMemory ()" "") and it seems that it is not the limiting factor.

    (1) is anyone knows what is the verification code 422 and why this occurred on the modules of the SDK?

    (2) I tried to find the limits of the JAVA virtual machine specification somewhere in the documentation, but I can't find them anywhere. They emerge?

    (3) the BlackBerry 8900 JVM have a limitation on the number of fields/static methods that it can process?

    Right now, I'm stuck, any help would be greatly appreciated.

    I found that my midlet was causing a NullPointerException in the thread who load the classes and run their static initalizer. The JVM is hung not because of the static function, but the first load of the class that contains the static function.

  • Displacement of the custom fields of one vCenter to another

    Hello

    I need to move my vcenter (or all esx hosts) of my new vsphere vcenter. I connect just 3.5 esx host for my new vcenter.

    as for this nice guide iam able to move old vcenter custom fields to my vcenter vsphere using export-csv.

    http://www.virtu-al.NET/2009/05/29/PowerCLI-on-steroids-custom-attributes/

    -


    Snip-


    Snip
    Snip

    Snip
    -.

    1. The export of all the attributes that have been customized in a CSV (backup)

    $list = @)

    $vmArray.GetEnumerator () | %{

    $vmName = $_. Name

    $_. Value.Custom.getenumerator () | %{

    $row = New-Object psobject

    $row | Add-Member - memberType noteproperty-name VmName-value $vmName

    $row | Add-Member - memberType noteproperty-name NomAC-value $customKeyLookup [http://$_.Name|http://$_.Name]

    $row | Add-Member - memberType noteproperty-name CAValue-value of $_. Value

    $list = $row

    }

    }

    $liste | Export-Csv "C:\CA-backup.csv" - noTypeInformation

    -


    Snip-


    Snip
    Snip

    Snip

    Snip
    -.

    so I connect vi PowerCli to my old vcenter 'connect-viserver' and export all of the CF, "reconnect" all the esx 3.5 to my vsphere vcenter server, connect to my new vcenter and import them accordingly:

    -


    Snip-


    Snip
    Snip

    Snip

    Snip
    -.

    1. Import all custom from a CSV (restore) file attributes

    Import-Csv "C:\CA-backup.csv" | %{

    $vmArray [http://$_.VmName|http://$_.VmName]. Object.setCustomValue ($_.) NomAC, $_. CAValue( )

    }

    -


    Snip-


    Snip
    Snip

    Snip

    Snip
    -.

    I can't run this code as a script itself snippets and my PS skills are limited, so here's my Question: could someone help me to get started?

    I guess I need to plug my vCenter first... as "Connect-VIServer vcserver.

    your help is very appreciated. Thank you

    rgrds uxmax

    Hi, thanks for the link

    Yes, you will need to connect to your server of VI using the cmdlet connect-viserver, something like this should do:

    to connect-viserver MYVISERVER

    Or if you need to move from other credentails as the account that you are using this as a use:

    SE connect-viserver MYVISERVER-user "myuser" - pass "myP@ssword"

    Once you have done this, you can run the export and then use the same cmdlet to connect to the other server of VI before importing the details.

    I hope this helps.  As a no, I also activated on my blog comments, it's a good way for everyone to see, too, how solve us problems.

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • Background color of the custom field

    Hello

    I create a custom field that is as shown in the attached display a bar graph.

    I don't want to change the background color of the field of another color. I tried to overridding method paintBackground of the field as shown below:

    protected void paintBackground(Graphics arg0) {
            arg0.setColor(Color.DARKGRAY);
            super.paintBackground(arg0);
        }
    

    but it seems to have no effect. Could someone kindly help me with this. Thanks in advance.

    Kind regards

    S.A.Norton Stanley

    Try this...

    Create a class that extends the scope and implements DrawStyle

    and override its Paint method... to set the background color

    Draw the shape you want with the graphics object and either fill the area or set the background color.

    THX

    Rabi Ray

  • Question regarding setExtent and getPreferredWidth for the custom field

    I am trying to understand the difference between getPreferredWidth and setExtent, which relate to the width of a custom field.

    I create a field that may be greater than the width of the screen. The field is made up of cells (for example columns and lines or cells, such as a table). The cells contain text, shapes, lines, color, etc. When I display the field I only paint the visible columns on the screen and allow the user to use the trackball to accomplish the columns out of the screen.

    At present, getPreferredWidth returns the total width of the field without all the empty columns, is longer than the width of the screen. I use the same value in setExtent for width. GetPreferredWidth must return the size of the field that is painted on the screen - the total width less the width of the columns out of the screen? I have the same question about setExtent - width either in total, longer than the screen width or the width of the part of the field that is painted on the screen?

    If I use the width of what is painted on the screen or the other of these methods, then the width changes when the user scrolls through the field. As the user scrolls, I calculate the number of columns will agree to a width of the screen and paint these columns. Is it a problem to have the PreferredWidth and the setExtent change width? I read that setExtent is called only when the Manager sets this field, so that the changes will not be recognized.

    It seems to work in two ways in a few simple tests, but I was just curious as the value of width that is right.

    Thank you!

    Mark

    When a field has changed in a way that requires the update of the screen (for example, after scrolling offset changes), simply call invalidate() from this area. That will eventually lead to paint (Graphics) for the field. At this point, you return the update field. (If only part of a field - as a single cell - needs to be updated, there invalidate() versions that accept arguments where, for efficiency, you can limit the update for just this part.)

    If I understand your needs, you can achieve the effect desired in the paint method. You can use the current dimensions of the field, the cutting of the graphics area, and your internal roll compensates to decide what to paint and what to delete. Let your custom field leave white space where you decide of doesn't make is not part of a cell. There is no need to change the scope of the field.

    If you go about it by changing the dimensions of the field, and then you ask the system to play much more work he has to do. If the custom field is the only field on the screen, it won't make much difference in the behavior (although there may be performance). With more than one field, it can be weird effects. For example, suppose that your custom field is one of several fields in a HorizontalFieldManager and you change the field width. When the HorizontalFieldManager recalculates its own layout, it will change the horizontal position of the fields to the right. The effect on the user, I think, would be really confusing: as the custom field parade, parties to the right of the screen could bounce left and right as the changed width field. I can't imagine that's what you want.

    Here's another way to think about this: absent some bit of style, your custom field would prefer be exactly wide and high enough to show all without scrolling. So the width and height would be based on adding the appropriate cell widths and heights, regardless of what actually is on the display. (It's also a long time that you do not have something fanciful.) If the optimum height is a function of the width available - as with sheathed on the line of text - you would implement this logic in the layout method. You then have no use for autonomous preferred width and height).

  • Two sliders in the custom field definition

    Hi guys,.

    First of all, I want to thank all those who helped me to this day. This forum has been essential for blackberry dev work I do, and I would be screwed without you guys. That being said, I'm having a problem. I install a custom like this text entry field.

    (1) creates a vertical field Manager, assigned a background and resized image with setExtent(). (works fine)

    (2) created a new type of field and inserted in the vertical field Manager to make native look (almost works)

    The problem I have is that two sliders are appearing. Cursor #2 is dynamically updated as it should be, but the #1 cursor seems to be a "flawed slider. Please see the image below for details.

    The custom field is defined using the following code. If I remove the custom field, or cursors comes, so I am positive that it is the source of the problem.

        public class JustifiedEditField extends HorizontalFieldManager implements FieldChangeListener {
            BasicEditField ef;
    
            public JustifiedEditField(long style) {
                super(USE_ALL_WIDTH);
                ef = new BasicEditField(style) {
    
                    protected void onDisplay() {
                        setPosition(10, 17);
                        update(0);
                        //invalidate();
                    }
    
                    protected void update(int d) {
                        super.update(d);
                        setPosition(10, 17);
                        //invalidate();
                    }
    
                    protected void paint(Graphics graphics) {
                        graphics.setColor(Color.WHITE);
                        getFocusRect(new XYRect());
                        drawFocus(graphics, true);
                        super.paint(graphics);
                    }
    
                    protected void onUnfocus() {
                        invalidate();
                    }
    
                    protected void onFocus(int direction) {
                        invalidate();
                    }
    
                    /**
                     * Intercepts ESCAPE key.
                     * @see net.rim.device.api.ui.component.TextField#keyChar(char,int,int)
                     */
                    protected boolean keyChar(char ch, int status, int time) {
                        switch(ch) {
                            case Characters.ESCAPE:
                                // Clear keyword.
                                if(super.getTextLength() > 0)
                                {
                                    setText("");
                                    return true;
                                }
                        }
                        return super.keyChar(ch, status, time);
                    }
                };
                add(ef);
            }
    
            protected void sublayout(int width, int height) {
                super.sublayout(width, height);
                setExtent(width, 57);
            }
    
            public BasicEditField getEditField() {
                return ef;
            }
    
            public String getText() {
                return ef.getText();
            }
    
            public void setText(String value) {
                ef.setText(value);
                invalidate();
            }
    
            public void setChangeListener(FieldChangeListener changer ){
                ef.setChangeListener(changer);
            }
    
            public void fieldChanged(Field field, int context) {
                invalidate();
            }
        }
    

    I am totally stuck on this issue, any help would be really appreciated. TIA!

    I came up with an alternative solution. It turns out that I can use a transparent border to set the offsets to where the edit field must be located within the input Manager; thus eliminating the need to use setPosition.

  • Problem in designing a custom field for the display of paragraph

    Hello

    I need to develop a custom field that is supposed to act as a RichTextField with the additional of the hyperlink feature as seen in the web pages. I have a few paragraphs of text with an id associated with each of them. A paragraph may have link to another paragraph. I think that the hyperlink is actually like a button.

    My screen will consist of a single paragraph. If any hyperlink (id) in this paragraph is preesed then the screen reloads with another paragraph (id in a hurry).

    My problem is to develop a custom field for the display of this paragraph.

    Point: several lines of text without interruption. Some of the text may be bold, italic. a text can be the hyperlink.

    Now I'm stuck. I have no ideas how I can start with. Can someone give me please suggestions as to how I can start with?

    Thanks in advance

    Bika

    I have a different Suggestion.

    If you are using an ActiveRichTextField, you get two things:

    (1) the ability to shape a field using different fonts:

    Comment - formatting text in a RichTextField
    Article number: DB-00124
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

    (2) the ability to create "links" automatically using string models

    How to-to comparison models in the BlackBerry smartphone to provide a user experience integrated applications
    Article number: DB-00525
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

    Using models of string, I think you'd be able to create ' hot-link in your text, which the run Menu item was able to process you want.

    Just an idea.  Hope this works for you.

  • typed letters are not visible after the end of the custom field in editfield

    class CustomEditField extends EditField {}

    CustomEditField (String text) {}

    Super("",Text);

    }

    public void layout (int width, int height) {}

    Super.Layout (getPreferredWidth (), getPreferredHeight ());

    setExtent (getPreferredWidth (), getPreferredHeight ());

    }

    public int getPreferredHeight() {}

    Return super.getPreferredHeight ();

    }

    public int getPreferredWidth() {}

    return (Display.getWidth () * 2/3);

    }

    }

    It's my edit custom field.

    When I type on this field and reached end of the field, can't see the letters after that, but I can type (the only thing is to type letters are not visible after the end of the field)

    What is the solution

    I'm sure that you must explicitly enable scrolling. See Manager javadocs.

    In addition, you limit the scope of your field, which may also fail to scroll.

  • Part of the cursor remains in the custom field

    Hello, guys!

    I have a problem.

    In the custom field that extends EditField, I want to draw in the text and the image and draw an appropriate in the cursor position. Then, we thought it would only calculate in advance of the police and the width of the image in the paint method to display the text and image and to the similar development and I tried. However, the cursor drawing is wrong. When the cursor moves from right to left, a part of the slider to the position immediately before the rest.

    Y at - it a good solution?

    JDE component package: 4.6.0

    I solved by myself.

    'FocusChangeListener' is mounted with EditField. And "invalidate()" has been called in the method "focusChanged().

    It became a great result for me.

    Thank you.

  • Custom field highlighting the problem

    Hello

    I have a custom field class that extends the field.  the custom class allows me to put a photo inside the field.  The problem I have is when I give him a click event, it accentuates not.

    I overrided onUnfocus() drawFocus() onFocus() and object;

    I tried to use super.drawFocus () inside the drawFocus(), tried to use drawHighlightRegion with HIGHLIGHT_SELECT and HIGHLIGHT_FOCUS but no luck.

    Anyone know what I need to do to give hightlight when the user touches the screen, or click?

    OK, so as I said in the previous post, you can paint the blue highlight, but your bitmap image will then paint over clear tones.

    So that the nail is visible, you must set a fill around the bitmap. In other works, the measurement of field must be slightly larger than the size of the bitmap.

    You the best solution would have been to extend BitmapField (rather than field) and use the setSpace() method to set some padding.

    Otherwise, you will need to adjust the measurement of field in your replacement of subLayout().

  • How long does it take for the custom field created in SFDC appears in the list of field mapping?

    How long does it take for the custom field created in SFDC appears in the list of field mapping? I hit the refresh field button, but it does not appear after 5 min. I just need to have patience?

    I had the same problem yesterday, I think it took about 10-15 minutes to appear.

  • How to retrieve the value of a custom field

    Hello @all.

    In my vCenter, I created a custom field 'email '. The value of this field is set to the e-mail address of the operator of that belongs to a virtual machine.

    I would like to retrieve these values in a perl script. But I have found a method to set the values of the custom fields. For example:

    $CustomFieldsManager -> SetField(entity => $_, key=> $emailKey, value => "[email protected]");
    

    What should I do to retrieve the value of the $emailKey key? Could someone provide a quick and dirty-snippet, please?

    Best regards

    Trondesson

    of course, in this discussion https://communities.vmware.com/message/1512863#1512863 you can see how it's done

Maybe you are looking for