Most of the threads on chkind are a few years old so I wanted to ask about it to be sure of getting the latest info.
1) Do I need to invoke chkind, or does Texis 7 run it automatically? Documentation suggests it runs automatically now -- but do I need to turn it on in the Texis config file? I don't see it running in our current configuration.
2) What is the best way to ensure that the daemon re-starts if it dies? Or is dying highly unlikely?
2) Do I need to create SYSMETAINDEX entries for all our metamorph indices in order for chkind to optimize them? Or can I make it work without creating SYSMETAINDEX entries.
Thanks.
Search found 68 matches
- Tue Feb 03, 2015 12:43 pm
- Forum: Texis & Metamorph
- Topic: chkind/Texis 7/optimizing metamorph indices
- Replies: 2
- Views: 19049
- Thu Oct 30, 2014 11:26 am
- Forum: Texis & Metamorph
- Topic: fetch from non-public documents?
- Replies: 3
- Views: 20260
fetch from non-public documents?
Relative paths unfortunately. That's why fetch was intriguing because it has reparenting built in.
- Thu Oct 30, 2014 9:43 am
- Forum: Texis & Metamorph
- Topic: fetch from non-public documents?
- Replies: 3
- Views: 20260
fetch from non-public documents?
We have HTML documents we would like to store in a non-public place but make available to authenticated users using <fetch>. Is there a way to configure a server to do this? We could use <spew> or <read> but they obviously don't pick up image or style from the document tree.
Thanks.
Thanks.
- Thu Sep 18, 2014 3:23 pm
- Forum: Texis & Metamorph
- Topic: update indirect field index
- Replies: 1
- Views: 17508
update indirect field index
Hi, sorry if I missed this in docs, but I'm not clear on what I need to do to keep an indirect field index up to date if the underlying file contents change.
I'm using texis 7, I have created a metamorph index on the indirect field. Searching works fine but if I add words to the underlying files, the search results don't reflect that.
I tried refreshing the metamorph index the old way (create metamorph index etc) and the new way (alter index optimize), and search results still not reflecting the changes.
I'm wondering, do I have to change something in the table and THEN alter index to get Texis to re-check the file contents?
Thanks.
I'm using texis 7, I have created a metamorph index on the indirect field. Searching works fine but if I add words to the underlying files, the search results don't reflect that.
I tried refreshing the metamorph index the old way (create metamorph index etc) and the new way (alter index optimize), and search results still not reflecting the changes.
I'm wondering, do I have to change something in the table and THEN alter index to get Texis to re-check the file contents?
Thanks.
- Thu Aug 21, 2014 11:08 am
- Forum: Texis & Metamorph
- Topic: can strlst support multiple date values?
- Replies: 1
- Views: 16641
can strlst support multiple date values?
I'd like to be able to search a LIST of dates within a single record using > and < and not sure if strlst will support it. Texis documentation seems to suggest this is not not a good idea but I want to ask because because strlist might give us better performance than adding a dates table and a relational query.
I.e. for three records, how can I efficiently find the records that have at least one date between 20130501 and 20140301:
ID Dates
1 20140101,20130501,20150801,20141211
2 20130101,20130506,21030801
3 19990201,20120101,20110101,20140501
Any thoughts? Even if it can be done, I wonder if the relational model might be faster because I could index for it. Thanks. Tom
I.e. for three records, how can I efficiently find the records that have at least one date between 20130501 and 20140301:
ID Dates
1 20140101,20130501,20150801,20141211
2 20130101,20130506,21030801
3 19990201,20120101,20110101,20140501
Any thoughts? Even if it can be done, I wonder if the relational model might be faster because I could index for it. Thanks. Tom
- Wed Aug 06, 2014 3:25 pm
- Forum: Texis & Metamorph
- Topic: string-counter comparison
- Replies: 4
- Views: 20532
string-counter comparison
ok thanks
- Wed Aug 06, 2014 1:50 pm
- Forum: Texis & Metamorph
- Topic: string-counter comparison
- Replies: 4
- Views: 20532
string-counter comparison
7.02.1401386359 20140529
moving FROM texis 6.01.1342668004
moving FROM texis 6.01.1342668004
- Wed Aug 06, 2014 1:30 pm
- Forum: Texis & Metamorph
- Topic: string-counter comparison
- Replies: 4
- Views: 20532
string-counter comparison
Moving to Texis 7 we are having a new problem comparing counter to blank.
where Profileid=$pid and Queryid = ''
or
where Profileid=$pid where the $pid is a blank.
Error is:
Could not assign type varchar to counter (FTN 66 to 19)
I can make the error go way by using convert, i.e. convert ('' , 'counter') or convert ($queryid, 'counter')
But we have a lot of places in our code that might be affected. I'm wondering, is there a compatibility setting that would let Texis 7 be permissive in these situations (as it is in Texis 6). Is it wise to do it or is it better to just clean up by writing in the converts?
where Profileid=$pid and Queryid = ''
or
where Profileid=$pid where the $pid is a blank.
Error is:
Could not assign type varchar to counter (FTN 66 to 19)
I can make the error go way by using convert, i.e. convert ('' , 'counter') or convert ($queryid, 'counter')
But we have a lot of places in our code that might be affected. I'm wondering, is there a compatibility setting that would let Texis 7 be permissive in these situations (as it is in Texis 6). Is it wise to do it or is it better to just clean up by writing in the converts?
- Wed Jul 16, 2014 12:26 pm
- Forum: Texis & Metamorph
- Topic: Exec and ENVSET
- Replies: 4
- Views: 21236
Exec and ENVSET
Great, thanks Mark.
Just for the record, would this have been a solution? Setting the Vortex path using vxcp before the exec?
<$path ='%EXEDIR%:%BINDIR%:%SYSLIBPATH%:/usr/bin:/usr/local/bin'>
<vxcp libpath $path>
Just for the record, would this have been a solution? Setting the Vortex path using vxcp before the exec?
<$path ='%EXEDIR%:%BINDIR%:%SYSLIBPATH%:/usr/bin:/usr/local/bin'>
<vxcp libpath $path>
- Wed Jul 16, 2014 10:17 am
- Forum: Texis & Metamorph
- Topic: Exec and ENVSET
- Replies: 4
- Views: 21236
Exec and ENVSET
Having trouble setting path inside an exec using ENVSET. I must be missing something??
The script is located in /usr/local/bin.
First example works but last two do not.
<a name=thisworks public>
<$script='casperjs --version'>
<exec sh>
PATH=$PATH:/usr/local/bin
export PATH
$script
</exec>
<loop $ret>$ret</loop>
</a>
<a name=notworking1 public>
<$path = '/usr/bin:/usr/local/bin'>
<$script='casperjs --version'>
<exec ENVSET PATH=$path $script>
</exec>
$ret.err
</a>
<a name=notworking2 public>
<local path>
<$path = '/usr/bin:/usr/local/bin'>
<exec ENVSET PATH=/httpd/htdocs sh>
echo $PATH
</exec>
<loop $ret>
$ret
</loop>
</a>
The script is located in /usr/local/bin.
First example works but last two do not.
<a name=thisworks public>
<$script='casperjs --version'>
<exec sh>
PATH=$PATH:/usr/local/bin
export PATH
$script
</exec>
<loop $ret>$ret</loop>
</a>
<a name=notworking1 public>
<$path = '/usr/bin:/usr/local/bin'>
<$script='casperjs --version'>
<exec ENVSET PATH=$path $script>
</exec>
$ret.err
</a>
<a name=notworking2 public>
<local path>
<$path = '/usr/bin:/usr/local/bin'>
<exec ENVSET PATH=/httpd/htdocs sh>
echo $PATH
</exec>
<loop $ret>
$ret
</loop>
</a>