mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
Post new Thread
Author
Previous Thread This topic has been viewed 2146 times and has 2 replies Next Thread
Male sfe@iname.com
Newbie




Joined: Oct 6, 2012
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Create search index for own module

Hi there

I try to create a search index for my own module for Pocketsword (1.4.1 and iOS6) with Xiphos. In Xiphos (3.1.5) everything works fine (module, index, search). I create the search index in the module menu.

In the lucene directory there are the following files:

- _0.cfs
- segements.gen
- segments_2

When I put this files in a ZIP-File on my iPhone (with the MMMode) the search index is not recognized (but the module itself works fine).

When I download a bible modul from "CrossWire 1" ex. and also load the search index I find on the iPhone (with iPhone Explorer) the following files

- _1.cfs
- deletable
- segments

I found out that Pocketsword needs the segement-file to find the index. How can I create this files (segments, deletable, ...)? Whats the difference between _1.cfs and _0.cfs?

Regards
Sandro
[Oct 8, 2012 3:33:35 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male niccarter
Veteran
Member's Avatar

Australia
Joined: Dec 17, 2009
Post Count: 215
Status: Offline
Reply to this Post  Reply with Quote 
Re: Create search index for own module

Hi Sandro,

I believe this is because the newer version of Xiphos doesn't create a version of the index that is compatible with PocketSword at this time?
Can you try downloading an older version of Xiphos and see if that works? I am out of the loop with Xiphos right now and will try to verify this to see what is happening.

Thanks, ybic
nic... :)
----------------------------------------
PocketSword Developer
http://twitter.com/PocketSword
[Dec 5, 2012 8:03:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male niccarter
Veteran
Member's Avatar

Australia
Joined: Dec 17, 2009
Post Count: 215
Status: Offline
Reply to this Post  Reply with Quote 
Re: Create search index for own module

Yes, I believe if you try with Xiphos 3.1.4 it will work. I will look further into what Xiphos 3.1.5 does differently!

Sorry about that!
----------------------------------------
PocketSword Developer
http://twitter.com/PocketSword
[Dec 5, 2012 8:09:12 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Show Printable Version of Thread  Post new Thread