<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
"type" has to be indexed as a "search" field, otherwise our type
searches would become inordinately slow. Otherwise, I haven't seen
where this is a problem so far. I agree that in the long-run we need
to pull this from *Model metadata, though.<br>
<br>
On 06/25/2014 02:18 AM, Lincoln Baxter, III wrote:<br>
<blockquote
cite="mid:CAEp_U4HPXx03rJV37_LDDTF8xE3Jr=wcvYfJ2QcuXjAwnJDc3Q@mail.gmail.com"
type="cite">
<div dir="ltr">Let's worry about indexing and performance later,
when we know there is a problem. If you want to add a few more
indexes for the time being, that's fine, but don't worry about
making the index system extendible right now...
<div>
<br>
</div>
<div>I'd focus on getting the groovy rules to work more and
support more features, and also work on getting the report
generation working.</div>
<div><br>
</div>
<div>The indexes are created in:</div>
<div>/org.jboss.windup.graph:windup-graph-impl/src/main/java/org/jboss/windup/graph/GraphContextImpl.java<br>
</div>
<div><br>
</div>
<div>~Lincoln</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Jun 22, 2014 at 9:59 PM, Ondrej
Zizka <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ozizka@redhat.com" target="_blank">ozizka@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
few things about indexing:<br>
<br>
1) We add "archiveEntry" and "type" to the "search" index.
Why those two?<br>
2) Should each ruleset and its Model classes have separate
index(es)? I<br>
think so - could speed up looking up in different data
domains.<br>
3) The docs says the index has to be configured a priori.
Where is it<br>
configured?<br>
4) I'll try to make the indexes discovered dynamically from
the Model<br>
classes metadata.<br>
<br>
Ondra<br>
<br>
PS: I don't like non-systemic plural "indices".<br>
_______________________________________________<br>
windup-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Lincoln Baxter, III<br>
<a moz-do-not-send="true" href="http://ocpsoft.org"
target="_blank">http://ocpsoft.org</a><br>
"Simpler is better."
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
windup-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
</blockquote>
<br>
</body>
</html>