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.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:343083
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to