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

Reply via email to