Ok Im reading the LIA, so if I understand good I must first
create an Index, this is the ERXIndex, isn't it?, in the
examples of the book they create a IndexWriter, dunno what is
this in the er.indexing. Then they create a document and add to
the document the file they are indexing, theyn thye add the
keywrord for the filepath, then they add the docuemtn to the
writer.
Let's put that in the WOrld
So the entity I want to index its called TransFromBase, but from
that I just want to index the attribute trans.
So following the example,
1. Create the index.
I see ERIndex, and ERAutoIndex, I don't understand the
documentation well on what ERXAutoIndex configuration, is the
comment in api doc, the indexDef NSDictionary must pass
in the Constructor?. Anyway I have the follwoing :
ERIndex index = ERIndex.indexNamed("fuzzyIndex");
-Now I need to create the documents for each EO, this is like
50.000 !!!. becuase createDocumentForObjetcs its oprotected, I
guess I must use then
index
.addObjectsToIndex(session().defaultEditingContext(),tbArray); //
previusly fetched.
And now I dunno what else to do. :( I need to specify that I
want to index the tran attribute only, becyase on that its what
Im gonna search, ..
Any more ideas that can help me please?
Thanks
Gustavo
PS: Oh yes and then I need to create the searcher.
On Fri, Oct 16, 2009 at 7:37 AM, Gustavo Pizano <email@hidden
> wrote:
I wish I had been there, this is driving me crazy already.
I wanna make it work... :(
G.
On Thu, Oct 15, 2009 at 6:14 PM, David Avendasora <email@hidden
> wrote:
WOWODC Presentation!!
Dave
On Oct 15, 2009, at 10:53 AM, David LeBer wrote:
On 2009-10-15, at 10:49 AM, Kieran Kelleher wrote:
Simon,
I recommend the "Lucene in Action" book .... easy to read and
digest ....... excellent reference book. IIRC the book author is
the original author of Lucene. Buying it on amazon is a no-
brainer if you are trying to use ERIndexing IMHO.
Regards, Kieran
I agree.
I didn't really find any documentation when I used ERIndexing,
but the LIA book along with the source made it pretty easy.
I really should go back and document what I did :-)
On Oct 15, 2009, at 10:19 AM, Simon McLean wrote:
do you know if there are there any docs on erindexing ? or maybe
an old wowodc presentation or something to get me started ? i've
checked the usual places (package.html, wiki, google)
if not i'll start poking around the code.
thanks, simon
Depending on how 'fuzzy' you really need your matches to be, you
might want to check out Lucene. We've had great success using it
to return type ahead suggestions. Results from the Lucene index
are wickedly fast.
ERIndexing in Wonder wraps Lucene.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden