List Info

Thread: Advanced search questions




Advanced search questions
user name
2008-02-06 13:06:50
Two advanced search related questions:

1) How does "Text to Search" work exactly? That is
the most natural way
for my users to search, but it doesn't work as expected.
From a few
tests, it looks like it only searches container elements and
not field
elements, which would be a big problem as most content is
within the
field element 'paragraph'.

2) When using "Subelement" option, the results
seem to include stories
where the subelement was present in *any* version, not just
the most
recent version. Is this a bug or the expected behavior?

Chris

-------------------

Chris Schults
Web Developer
PCC Natural Markets
206-547-1222 x104
chris.schultspccsea.com
http://www.pccnatura
lmarkets.com 

Re: Advanced search questions
user name
2008-02-06 14:34:48
On Feb 6, 2008, at 2:06 PM, Schults, Chris wrote:

> Two advanced search related questions:
>
> 1) How does "Text to Search" work exactly?
That is the most natural  
> way
> for my users to search, but it doesn't work as
expected. From a few
> tests, it looks like it only searches container
elements and not field
> elements, which would be a big problem as most content
is within the
> field element 'paragraph'.


Our experience is that it will not search WYSIWYG, so any
xinha  
content is not searchable.  Not sure why, though.

> 2) When using "Subelement" option, the
results seem to include stories
> where the subelement was present in *any* version, not
just the most
> recent version. Is this a bug or the expected
behavior?


Interesting.

-Matt

RE: Advanced search questions
user name
2008-02-06 14:37:59
> Our experience is that it will not search WYSIWYG, so
any 
> xinha content is not searchable.  Not sure why,
though.

FYI: We're not using a WYSIWYG currently.

Chris

Re: Advanced search questions
user name
2008-02-06 16:26:29
On Feb 6, 2008, at 11:06, Schults, Chris wrote:

> Two advanced search related questions:
>
> 1) How does "Text to Search" work exactly?
That is the most natural  
> way
> for my users to search, but it doesn't work as
expected. From a few
> tests, it looks like it only searches container
elements and not field
> elements, which would be a big problem as most content
is within the
> field element 'paragraph'.

It should search any "short" text field. That
generally excludes  
paragraph and wysiwyg fields.

> 2) When using "Subelement" option, the
results seem to include stories
> where the subelement was present in *any* version, not
just the most
> recent version. Is this a bug or the expected
behavior?

Sounds like a bug.

Best,

David


RE: Advanced search questions
user name
2008-02-06 17:24:46
> It should search any "short" text field. That
generally 
> excludes paragraph and wysiwyg fields.

Really? That excludes the vast majority of our content. I
assume there
is a good reason for this???

> > 2) When using "Subelement" option, the
results seem to 
> include stories 
> > where the subelement was present in *any* version,
not just 
> the most 
> > recent version. Is this a bug or the expected
behavior?
> 
> Sounds like a bug.

I've verified this problem and will submit a big report.

Chris

Re: Advanced search questions
user name
2008-02-06 19:15:51
On Feb 6, 2008, at 15:24, Schults, Chris wrote:

> Really? That excludes the vast majority of our content.
I assume there
> is a good reason for this???

Yes: It doesn't use an index.

Anyone want to get Bricolage working with tsearch2? It's
included in  
PostgreSQL 8.3, and was a contrib module before that. Might
make a  
good summer of code project.

>> Sounds like a bug.
>
> I've verified this problem and will submit a big
report.

Thanks.

David


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )