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(3MENU)															       post(3MENU)

NAME
post - write or erase menus from associated subwindows SYNOPSIS
#include <menu.h> int post_menu(MENU *menu); int unpost_menu(MENU *menu); DESCRIPTION
The function post_menu displays a menu 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). post_menu resets the selection status of all items. The function unpost_menu erases menu from its associated subwindow. RETURN VALUE
These routines return one of the following: E_OK The routine succeeded. E_SYSTEM_ERROR System error occurred (see errno). E_BAD_ARGUMENT Routine detected an incorrect or out-of-range argument. E_POSTED The menu has already been posted. E_BAD_STATE Routine was called from an initialization or termination function. E_NO_ROOM Menu is too large for its window. You should consider to use set_menu_format() to solve the problem. E_NOT_POSTED The menu has not been posted. E_NOT_CONNECTED No items are connected to the menu. SEE ALSO
ncurses(3NCURSES), menu(3MENU). NOTES
The header file <menu.h> automatically includes the header file <curses.h>. PORTABILITY
These routines emulate the System V menu 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(3MENU)
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy