Hi again
Never mind my question .. i finally solved it. Happy OS-X:er again :)
Thanks anyway
6 jun 2005 kl. 08.59 skrev Thomas Nyman:
> Thanks for the help, but alasd i does not work.
>
> My .swishcgi.conf contains the following
>
> return {
>
>
> title => 'Dokument Arkiv Legolas',
> swish_binary => '/usr/local/bin/swish-e',
> swish_index => 'path-to-index/index.swish-e',
> prepend_path => '/arkiv/'
>
> }
>
> and works fine.
>
> But when I change it to
>
> return {
>
>
> title => 'Dokument Arkiv Legolas',
> swish_binary => '/usr/local/bin/swish-e',
> swish_index => ['/path-to-index1/index.swish-e', '/path-to-
> index2/swish-index/lycksele.index'],
> prepend_path => '/arkiv/'
>
> }
>
> It cant seem to find the index file. I receive the error message
> "Index file error: Could not open the index file 'index.swish-e': No
> such file or directory" despite the fact that the path to index.swish-
> e is the same as it was before.
>
> I must be missing something. I found the relevant part of the
> documentation and as far as I can tell I have followed the
> instructions.
>
> Thomas
>
>
>
> 5 jun 2005 kl. 17.28 skrev Bill Moseley:
>
>
>> On Sun, Jun 05, 2005 at 08:07:47AM -0700, Peter Karman wrote:
>>
>>
>>> Try this instead:
>>>
>>> swish_index => '/path/index1 /path/index2'
>>>
>>>
>>
>> Nope.
>>
>>
>>
>>> From the docs:
>>>
>>>
>>
>> Or if searching more than one index:
>>
>> return {
>> title => 'Search the Swish-e list',
>> swish_binary => 'swish-e',
>> swish_index => ['index.swish-e', 'index2'],
>> };
>>
>>
>>
>>
>>
>>
>>>
>>>
>>> oh, and I see you're using OS X. Good for you! :)
>>>
>>>
>>>
>>>
>>
>> --
>> Bill Moseley
>> moseley@hank.org
>>
>> Unsubscribe from or help with the swish-e list:
>> http://swish-e.org/Discussion/
>>
>> Help with Swish-e:
>> http://swish-e.org/current/docs
>> swish-e@sunsite.berkeley.edu
>>
>>
>>
>
>
Received on Mon Jun 6 05:14:51 2005