>On 10/25/2007 08:33 AM, josh@relativelysane.com wrote:
>
>> I did as you suggested (first I tried, ExtractPath flavor regex
>!^([^/]+)/.*$!$1!, and then i did rename the directories and then tried your
>second ExtractPatch string) and I am still getting same response, err, and
>results. The results below are from the renamed directories suggestion you
>made.
>>
>
>try:
>
> swish-e -T index_all
>
>to dump the index and see what's getting indexed as what. And try running the
>indexer with the -v option set.
>
>--
>Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
>
Ok, I traced out some things and I fixed the 'flavor' regex string. So now I am getting that in my search query. However I am still not getting any population on the <strong> portion of the search query.
[josh@josh]# swish-e -w title AND flavor=strong -x '"<strong>" "<swishtitle>" "<flavor>"\n'
# SWISH format: 2.4.5
# Search words: title AND flavor=strong
# Removed stopwords:
# Number of hits: 1
# Search time: 0.000 seconds
# Run time: 0.009 seconds
"" "real title" "strong"
.
Here are snips from the -T index_all:
-----> METANAMES for index.swish-e <-----
swishdefault : id= 1 type= 1 META_INDEX Rank Bias= 0
swishreccount : id= 2 type=42 META_INTERNAL META_PROP:NUMBER
swishrank : id= 3 type=42 META_INTERNAL META_PROP:NUMBER
swishfilenum : id= 4 type=42 META_INTERNAL META_PROP:NUMBER
swishdbfile : id= 5 type=38 META_INTERNAL META_PROP:STRING(case:compar
e) SortKeyLen: 100
swishdocpath : id= 6 type= 6 META_PROP:STRING(case:compare) SortKeyLen:
100 *presorted*
swishtitle : id= 7 type=70 META_PROP:STRING(case:ignore) SortKeyLen:
100 *presorted*
swishdocsize : id= 8 type=10 META_PROP:NUMBER *presorted*
swishlastmodified : id= 9 type=18 META_PROP:DATE *presorted*
flavor : id=10 type= 1 META_INDEX Rank Bias= 0
strong : id=11 type=70 META_PROP:STRING(case:ignore) SortKeyLen:
100 *presorted*
a : id=12 type=70 META_PROP:STRING(case:ignore) SortKeyLen:
100 *presorted*
flavor : id=13 type=70 META_PROP:STRING(case:ignore) SortKeyLen:
100 *presorted*
ReadAllDocProperties:
swishdocpath: 6 ( 38) S: "test/doc-strong/docswith-strong.html"
swishtitle: 7 ( 10) S: "real title"
swishdocsize: 8 ( 4) N: "129"
swishlastmodified: 9 ( 4) D: "2007-10-25 09:46:20 EDT"
flavor:13 ( 7) S: "strong"
ReadSingleDocPropertiesFromDisk:
swishdocpath: 6 ( 38) S: "test/doc-strong/docswith-strong.html"
swishtitle: 7 ( 10) S: "real title"
swishdocsize: 8 ( 4) N: "129"
swishlastmodified: 9 ( 4) D: "2007-10-25 09:46:20 EDT"
flavor:13 ( 7) S: "strong"
josh
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Oct 25 10:11:58 2007