Re: Solr Summary Text
Dean, I will greatly appreciated if you can find them. I have looked everywhere and nothing pops up as obvious. There a number of people having the same issue in the last few months but no definitive answer and (unfortunately) Adobe is not very helpful. If anything the docs are wrong as ContextBytes has no effect. One will think that after 2+years since the product was released they will at least update the docs. Regards Victor On Mon, Sep 19, 2011 at 9:04 PM, Dean Lawrence dean...@gmail.com wrote: Hey Victor, Yes, I was finally able to get this working. If I remember correctly, it was a combination of editing the schema.xml and the solrconfig.xml files. However, I don't remember what updates I actually made. I will try to compare my backup files with the live files that are working. I'm pretty swamped over the next couple of days, but I will try to post my results as soon as I can. Dean On Mon, Sep 19, 2011 at 8:52 PM, Victor Moore victor.mo...@gmail.com wrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Developmen ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347540 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence dean...@gmail.com wrote: I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything related to Solr. If I don't have the newest CHF installed, I will try to get it installed this evening to see if that changes anything. On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden rcam...@gmail.com wrote: Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347532 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
You can change solr's configuration through editing its text file to include the context when the entries in that collection are updated. I can't recall off the top of my head how to do this, but I can you can dig around on google for adding context to solr coldfusion 9 or something. They say the reason they excluded that is because it makes the index much smaller to omit the context and only include the title. I guess I see their point but in my experience it would save me tons of time if they would just enable it by default. Dan On Mon, Sep 19, 2011 at 6:52 PM, Victor Moore victor.mo...@gmail.comwrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence dean...@gmail.com wrote: I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything related to Solr. If I don't have the newest CHF installed, I will try to get it installed this evening to see if that changes anything. On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden rcam...@gmail.com wrote: Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347533 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Hey Victor, Yes, I was finally able to get this working. If I remember correctly, it was a combination of editing the schema.xml and the solrconfig.xml files. However, I don't remember what updates I actually made. I will try to compare my backup files with the live files that are working. I'm pretty swamped over the next couple of days, but I will try to post my results as soon as I can. Dean On Mon, Sep 19, 2011 at 8:52 PM, Victor Moore victor.mo...@gmail.com wrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Developmen ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347534 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
I will check it out and let you know. You are right, kind of disappointing that some many things were left out of the cf9 implementation of solr . Thank you Sir Victor On Mon, Sep 19, 2011 at 8:57 PM, Dan Baughman dan.baugh...@gmail.com wrote: You can change solr's configuration through editing its text file to include the context when the entries in that collection are updated. I can't recall off the top of my head how to do this, but I can you can dig around on google for adding context to solr coldfusion 9 or something. They say the reason they excluded that is because it makes the index much smaller to omit the context and only include the title. I guess I see their point but in my experience it would save me tons of time if they would just enable it by default. Dan On Mon, Sep 19, 2011 at 6:52 PM, Victor Moore victor.mo...@gmail.comwrote: Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347535 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
On Wed, Mar 16, 2011 at 3:42 PM, Dean Lawrence dean...@gmail.com wrote: Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. I want to pick up on one small point here. Obviously you want context to have data in it. But it seemed as if you were saying you also wanted context to equal summary since it does Verity. You don't really want that, do you? -r ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343092 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Hey Ray, I am actually just looking for something that is usable to display back to the end-user. When I mentioned the information that was appearing in the summary and context columns, I was only stating what I was seeing in a dump of collections. For me, I don't really care if the descriptive text that I show with the search results comes from summary or context column, just that it is there somewhere. I'm not trying to do anything fancy with suggestions or previous searches or anything like that. I just want to query the collection and return a list of results showing the document title and some copy of what the document contains. If you have any additional insight into any way that I can tweak this, it would be greatly appreciated. Thanks, Dean On Thu, Mar 17, 2011 at 7:06 AM, Raymond Camden rcam...@gmail.com wrote: On Wed, Mar 16, 2011 at 3:42 PM, Dean Lawrence dean...@gmail.com wrote: Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. I want to pick up on one small point here. Obviously you want context to have data in it. But it seemed as if you were saying you also wanted context to equal summary since it does Verity. You don't really want that, do you? -r ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343093 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? On Thu, Mar 17, 2011 at 8:08 AM, Dean Lawrence dean...@gmail.com wrote: Hey Ray, I am actually just looking for something that is usable to display back to the end-user. When I mentioned the information that was appearing in the summary and context columns, I was only stating what I was seeing in a dump of collections. For me, I don't really care if the descriptive text that I show with the search results comes from summary or context column, just that it is there somewhere. I'm not trying to do anything fancy with suggestions or previous searches or anything like that. I just want to query the collection and return a list of results showing the document title and some copy of what the document contains. If you have any additional insight into any way that I can tweak this, it would be greatly appreciated. Thanks, Dean On Thu, Mar 17, 2011 at 7:06 AM, Raymond Camden rcam...@gmail.com wrote: On Wed, Mar 16, 2011 at 3:42 PM, Dean Lawrence dean...@gmail.com wrote: Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. I want to pick up on one small point here. Obviously you want context to have data in it. But it seemed as if you were saying you also wanted context to equal summary since it does Verity. You don't really want that, do you? -r ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343094 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything related to Solr. If I don't have the newest CHF installed, I will try to get it installed this evening to see if that changes anything. On Thu, Mar 17, 2011 at 9:41 AM, Raymond Camden rcam...@gmail.com wrote: Ah ok - thanks for the clarification. You mentioned 901. Are you also running the CHF? -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343095 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343075 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences Verity returns in the context summary (that is, the context column of the results). The default i s 0, which disables context summary. 3. It might be possible to mess with the solr instance directly to get this information, but I haven't tried it and assume you'd like to keep the solution within CF. - Gabriel On Wed, Mar 16, 2011 at 2:27 PM, Dean Lawrence dean...@gmail.com wrote: Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343079 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Thanks Gabriel, Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. You are correct that I would prefer to keep it in CF, as this would allow me to perform per-collection tuning. However, if there is a config file somewhere that affect all Solr collections, then I am fine making the change there as well. Dean On Wed, Mar 16, 2011 at 3:57 PM, Dorioo dor...@gmail.com wrote: 1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences Verity returns in the context summary (that is, the context column of the results). The default i s 0, which disables context summary. 3. It might be possible to mess with the solr instance directly to get this information, but I haven't tried it and assume you'd like to keep the solution within CF. - Gabriel On Wed, Mar 16, 2011 at 2:27 PM, Dean Lawrence dean...@gmail.com wrote: Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343081 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Then it may be as good as it gets within CF, unfortunately. Don't know if it's even possible to change the length of the summary that is automatically created by CF. Another idea is to query the collection directly and process the XML that is returned yourself. If you look at the doc arr name=spell str node, it may contain all of the text that is indexed and you could use that to create your own summary. The url below might show your collections. Click on one and provide a a query string to see the results. Otherwise, change the url needed based on where your solr server is running. http://localhost:8983/solr/ - Gabriel On Wed, Mar 16, 2011 at 4:42 PM, Dean Lawrence dean...@gmail.com wrote: Thanks Gabriel, Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. You are correct that I would prefer to keep it in CF, as this would allow me to perform per-collection tuning. However, if there is a config file somewhere that affect all Solr collections, then I am fine making the change there as well. Dean On Wed, Mar 16, 2011 at 3:57 PM, Dorioo dor...@gmail.com wrote: 1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences Verity returns in the context summary (that is, the context column of the results). The default i s 0, which disables context summary. 3. It might be possible to mess with the solr instance directly to get this information, but I haven't tried it and assume you'd like to keep the solution within CF. - Gabriel On Wed, Mar 16, 2011 at 2:27 PM, Dean Lawrence dean...@gmail.com wrote: Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343082 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
They work you just have to adjust ur settings. You have to edit the xml files that configure solr so that they retain the text and thus can present the context passage. Follow these instructions and then rebuild your index and you'll have context passages: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a0-5bf1c839123792503fa-8000.html http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a0-5bf1c839123792503fa-8000.htmlI, for one, found that solr was immensely more powerful and graceful than verity once I got it grokked. Solr has a wiki that breaks down their query syntax, as well, so check it out. You can do almost anything. To really get soem of the good stuff for ecommerce and heavy category searching ( facet counts, facet queries, etc) you have to directly interact with the solr web service rather than going through cfsearch, but its generally worth it. There are some cfc's out there that do it, check ria forge. On Wed, Mar 16, 2011 at 2:42 PM, Dean Lawrence dean...@gmail.com wrote: Thanks Gabriel, Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. You are correct that I would prefer to keep it in CF, as this would allow me to perform per-collection tuning. However, if there is a config file somewhere that affect all Solr collections, then I am fine making the change there as well. Dean On Wed, Mar 16, 2011 at 3:57 PM, Dorioo dor...@gmail.com wrote: 1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences Verity returns in the context summary (that is, the context column of the results). The default i s 0, which disables context summary. 3. It might be possible to mess with the solr instance directly to get this information, but I haven't tried it and assume you'd like to keep the solution within CF. - Gabriel On Wed, Mar 16, 2011 at 2:27 PM, Dean Lawrence dean...@gmail.com wrote: Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343083 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Solr Summary Text
Thanks Gabriel and Dan, you've at least pointed me in a direction to research some more. On Wed, Mar 16, 2011 at 5:38 PM, Dan Baughman dan.baugh...@gmail.com wrote: They work you just have to adjust ur settings. You have to edit the xml files that configure solr so that they retain the text and thus can present the context passage. Follow these instructions and then rebuild your index and you'll have context passages: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a0-5bf1c839123792503fa-8000.html I, for one, found that solr was immensely more powerful and graceful than verity once I got it grokked. Solr has a wiki that breaks down their query syntax, as well, so check it out. You can do almost anything. To really get soem of the good stuff for ecommerce and heavy category searching ( facet counts, facet queries, etc) you have to directly interact with the solr web service rather than going through cfsearch, but its generally worth it. There are some cfc's out there that do it, check ria forge. On Wed, Mar 16, 2011 at 2:42 PM, Dean Lawrence dean...@gmail.com wrote: Thanks Gabriel, Unfortunately, the contextPassages does not seem to work with Solr. When using it against a verity collection, but the summary and context columns are populated with the same text which is properly being controlled by the contextPassages setting. However, when I try the exact same settings against a Solr collection, the summary column still has very limited information in it and the context column is empty. You are correct that I would prefer to keep it in CF, as this would allow me to perform per-collection tuning. However, if there is a config file somewhere that affect all Solr collections, then I am fine making the change there as well. Dean On Wed, Mar 16, 2011 at 3:57 PM, Dorioo dor...@gmail.com wrote: 1. According to the docs, the summary is automatically generated by cfindex so that's unlikely to help. 2. The context summary may provide more information for you so I'd check it out to see what kind of results it gives you. contextPassages | Optional | 0 | The number of passages/sentences Verity returns in the context summary (that is, the context column of the results). The default i s 0, which disables context summary. 3. It might be possible to mess with the solr instance directly to get this information, but I haven't tried it and assume you'd like to keep the solution within CF. - Gabriel On Wed, Mar 16, 2011 at 2:27 PM, Dean Lawrence dean...@gmail.com wrote: Am I the only one who is having a problem with this? I know that Adobe will be dropping support for Verity in future releases, so I would like to move over to Solr. However, this is really making it difficult as the summary really isn't good enough to let someone know if the result is what they were looking for or not. Any insight, even if it is to that's as good as it gets, would be very much appreciated. Thanks, Dean Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343085 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Solr Summary Text
Does anyone know if you can control how much text is included in the summary text that Solr returns with it's results? I am trying to migrate from Verity to Solr, but the summary text that I am getting back is very short when using Solr. With Verity, I get back about a paragraph or so of text, but for the same data record with Solr, I am less than a sentence. I have tried adjusting both the contextBytes and contextPassages settings, but neither one changes what is being returned. I am running CF 9.01 and the content that is being indexed are database records. Any help would be greatly appreciated. Dean ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm