Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Conflict between swishlastmodified and custom date meta

From: at <Peter>
Date: Sat, 19 Nov 2011 20:08:40 -0600
Timersys wrote on 11/13/11 8:37 PM:
> Hi Guys in getting some troubles to index my files and pages when i need to
> search by date.
> 
> On one side im indexing files that uses the swishlastmodified meta for the date.
> On other side my web pages dynamically generated uses a custom meta called
> page_date.
> 
> Problem is that the web pages also store the swishlastmodified meta so when i
> try to search limiting by a date i get more results that i wanted. page_date its
> manually set up by my users in the backend but of course swishlastmodified show
> last time content changed so i get in trouble as they are different dates and
> both exist for the page
> 
> My question is that is there is a way to NOT store swishlastmodified for normal
> pages and only use it on files (pdf , doc , etc) .If this is possible it will
> solve my problem.

It is not possible. swishlastmodified is a built-in property.

I have lots of date MetaNames/PropertyNames defined for my indexes, and don't
have a problem with the built-in at all.  A more complete example (with code and
docs) would help folks on the list help you better.


-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Sun Nov 20 2011 - 02:08:45 GMT