"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.
On 06/25/2014 02:18 AM, Lincoln Baxter, III wrote:
> 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...
>
> I'd focus on getting the groovy rules to work more and support more
> features, and also work on getting the report generation working.
>
> The indexes are created in:
>
/org.jboss.windup.graph:windup-graph-impl/src/main/java/org/jboss/windup/graph/GraphContextImpl.java
>
> ~Lincoln
>
>
> On Sun, Jun 22, 2014 at 9:59 PM, Ondrej Zizka <ozizka(a)redhat.com
> <mailto:ozizka@redhat.com>> wrote:
>
> Hi,
>
> few things about indexing:
>
> 1) We add "archiveEntry" and "type" to the "search"
index. Why
> those two?
> 2) Should each ruleset and its Model classes have separate
> index(es)? I
> think so - could speed up looking up in different data domains.
> 3) The docs says the index has to be configured a priori. Where is it
> configured?
> 4) I'll try to make the indexes discovered dynamically from the Model
> classes metadata.
>
> Ondra
>
> PS: I don't like non-systemic plural "indices".
> _______________________________________________
> windup-dev mailing list
> windup-dev(a)lists.jboss.org <mailto:windup-dev@lists.jboss.org>
>
https://lists.jboss.org/mailman/listinfo/windup-dev
>
>
>
>
> --
> Lincoln Baxter, III
>
http://ocpsoft.org
> "Simpler is better."
>
>
> _______________________________________________
> windup-dev mailing list
> windup-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/windup-dev
_______________________________________________
windup-dev mailing list
windup-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev