Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-20 Thread Chris Withers
On Mon, 18 Jun 2001, Andreas Jung wrote: These are good ideas to improve the TextIndex. I already encouraged Erik to put alltogether into a Fishbowl proposal, Which I would do, if I had time. Which I will have, but not for another two weeks. :-) I'm guessing this is the point at

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-20 Thread Erik Enge
On Tue, 19 Jun 2001, Chris Withers wrote: I'm guessing this is the point at which your problems become mine? ;-) *evil laughter* Yes :-) We should write about it and publish it to the community... ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-19 Thread Rik Hoekstra
Rik Hoekstra writes: This raises the question how dependent the splitter on the paticularities of the document source - I do not really see how different splitters could be useful for one single document. This is perhaps less obvious than it appears, as you may want to use

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-19 Thread Erik Enge
On Mon, 18 Jun 2001, Andreas Jung wrote: These are good ideas to improve the TextIndex. I already encouraged Erik to put alltogether into a Fishbowl proposal, Which I would do, if I had time. Which I will have, but not for another two weeks. :-)

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread Rik Hoekstra
Chris McDonough wrote: It just occurred to me that depending on the splitter to do positions makes it impossible to alter the splitter without reindexing the whole text index... but I think this is a reasonable tradeoff. Other opinions welcome. This raises the question how dependent

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread Rik Hoekstra
Once you're satisfied with the implementation, would you be willing submit the module to the collector? Do you think you (or someone else for that matter) could have a look at [1] the method that returns the position in the document - positionInDoc() - to how that could be made to run

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread R. David Murray
On Sun, 17 Jun 2001, Chris McDonough wrote: index_object, because the splitter return has all the words in order, even the dupes... as you iterate, you can mutate Is this part of the current formal Splitter Interface? If not, it needs to be if other code is going to depend on it. Oh, yeah,

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread Andreas Jung
, June 18, 2001 11:39 AM Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited) On Sun, 17 Jun 2001, Chris McDonough wrote: index_object, because the splitter return has all the words in order, even the dupes... as you iterate, you can mutate Is this part

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread Dieter Maurer
Rik Hoekstra writes: This raises the question how dependent the splitter on the paticularities of the document source - I do not really see how different splitters could be useful for one single document. This is perhaps less obvious than it appears, as you may want to use different

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread Andreas Jung
]; [EMAIL PROTECTED] Sent: Monday, June 18, 2001 4:59 PM Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited) Rik Hoekstra writes: This raises the question how dependent the splitter on the paticularities of the document source - I do not really see how different

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-17 Thread Erik Enge
On Sat, 16 Jun 2001 [EMAIL PROTECTED] wrote: Lexis-Nexis: Sean w/2 Upton (where w/2 is within 2 words) This wouldn't be hard to make happen. I don't know if it is better to do it before of after the parsers, though. Maybe a more userfriendly alias would be best as a default?

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-17 Thread Erik Enge
On Fri, 15 Jun 2001, Chris McDonough wrote: Once you're satisfied with the implementation, would you be willing submit the module to the collector? Do you think you (or someone else for that matter) could have a look at [1] the method that returns the position in the document -

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-17 Thread Chris McDonough
It just occurred to me that depending on the splitter to do positions makes it impossible to alter the splitter without reindexing the whole text index... but I think this is a reasonable tradeoff. Other opinions welcome. On Sun, 17 Jun 2001 15:57:20 -0400 Chris McDonough [EMAIL PROTECTED]

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-17 Thread Chris McDonough
On Sun, 17 Jun 2001 21:05:47 +0200 (CEST) Erik Enge [EMAIL PROTECTED] wrote: On Fri, 15 Jun 2001, Chris McDonough wrote: Once you're satisfied with the implementation, would you be willing submit the module to the collector? Do you think you (or someone else for that matter) could

RE: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-17 Thread Dieter Maurer
[EMAIL PROTECTED] writes: A lot of folks who do power searches, say, librarians or other trained researchers, familiar with the bells and whistles of more powerful search engines, will want a simple operator for proximity, with the ability to specify proximity depth: For example:

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-16 Thread Erik Enge
On Fri, 15 Jun 2001, Chris McDonough wrote: Once you're satisfied with the implementation, would you be willing submit the module to the collector? Will do. Have you thought about how users actually are to use exact-phrase? What I'm thinking I will do here (currently I've only been testing

RE: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-16 Thread sean . upton
Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 16, 2001 2:59 AM To: Erik Enge Cc: [EMAIL PROTECTED] Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited) Erik Enge wrote: On Fri, 15 Jun 2001, Chris McDonough wrote: Once you're

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-15 Thread Erik Enge
On Thu, 14 Jun 2001, Chris McDonough wrote: Excellent! I haven't looked at it in detail, but thanks very much for contributing it! Maybe we can roll some of this work into a position-aware Text Index It is actually a TextIndex on steoroids. Remove the _proximity attribute and a couple of

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-15 Thread Erik Enge
On Thu, 14 Jun 2001, Erik Enge wrote: To be really useful I think the PossitionIndex' _proximity dictionary needs to be turned into a BTree of some sort, but apart from that I don't know what is missing. It's now using BTrees. And I renamed it to PositionIndex (thanks to Chris Withers for

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-15 Thread Chris McDonough
: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited) On Thu, 14 Jun 2001, Erik Enge wrote: To be really useful I think the PossitionIndex' _proximity dictionary needs to be turned into a BTree of some sort, but apart from that I don't know what is missing. It's now using

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-14 Thread Chris McDonough
[EMAIL PROTECTED] Cc: Oren Yosifon [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 12:45 PM Subject: Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited) On Thu, 14 Jun 2001, Erik Enge wrote: Me got a patch: URL:http://nittin.net/erik/software/PossitionIndex