Sponsored Content
The Lounge What is on Your Mind? Search for REALLY old threads / posts Post 303029097 by Neo on Monday 21st of January 2019 09:09:00 AM
Old 01-21-2019
Code:
condor2769:~/debug# tail -f neo_search_by_year.log

These queries will not work because you added another field (not in my instructions)

Code:
Mon, 21 Jan 19 07:33:21 -0600  UserID: RudiC logic : ["post.dateline >= 1325397600 AND post.dateline <= 1357019999","post.userid IN(302122047)","post.dateline > 1547991201"] 
Mon, 21 Jan 19 07:33:37 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline > 1547991217"] 
Mon, 21 Jan 19 07:35:10 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline > 1547991310"]

This query works, per my instruction:

Code:
Mon, 21 Jan 19 07:36:13 -0600  UserID: RudiC logic : ["post.userid IN(302122047)","post.dateline > 1547991373"] 
Mon, 21 Jan 19 07:49:50 -0600  UserID: RudiC logic : ["post.userid IN(302122047)","post.dateline > 1547992190"]

It works when I do it as well:

Code:
Mon, 21 Jan 19 07:50:13 -0600  UserID: Neo logic : ["post.dateline >= 1514786400 AND post.dateline <= 1546322399","post.userid IN(302122047)"]

This query by you adds a field which you should not add, since my instructions were to set three fields (not four):

Code:
Mon, 21 Jan 19 07:51:02 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline > 1547992262"] 
Mon, 21 Jan 19 07:51:22 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline < 1547992282"]

I really do not want to have to spend time testing every possible case where people do not follow my instructions (which are in the mouse over I provided over the "question-mark" icon). Just set the three fields and it works fine. I have tested it many times.

If you want to search by year, unlimited in results, I have provided you that capability as a Moderator!
 

We Also Found This Discussion For You

1. Post Here to Contact Site Administrators and Moderators

How do i delete threads/posts?

I cannot find the option anywhere when i click on "Edit". (2 Replies)
Discussion started by: johnthebaptist
2 Replies
post(3FORM)															       post(3FORM)

NAME
post - write or erase forms from associated subwindows SYNOPSIS
#include <form.h> int post_form(FORM *form); int unpost_form(FORM *form); DESCRIPTION
The function post_form displays a form to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine (the implicit doupdate triggered by an curses input request will do). The function unpost_form erases form from its associated subwindow. RETURN VALUE
These routines return one of the following: E_OK The routine succeeded. E_BAD_ARGUMENT Routine detected an incorrect or out-of-range argument. E_BAD_STATE Routine was called from an initialization or termination function. E_NOT_POSTED The form has not been posted. E_NOT_CONNECTED No items are connected to the form. E_NO_ROOM Form is too large for its window. E_POSTED The form has already been posted. E_SYSTEM_ERROR System error occurred (see errno). SEE ALSO
ncurses(3NCURSES), form(3FORM). NOTES
The header file <form.h> automatically includes the header file <curses.h>. PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions. AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. post(3FORM)
All times are GMT -4. The time now is 11:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy