---
layout: default
menu_item: api
title: IndexReucEntry
description: Version 0.26.1
menu_item: api
return_to:
"API Documentation Index": /api/
sections:
"add": "#add"
"clear": "#clear"
"entryCount": "#entryCount"
"find": "#find"
"getByIndex": "#getByIndex"
"getByPath": "#getByPath"
"remove": "#remove"
"Instance Variables": "#ivars"
---
## IndexReucEntry.add AsyncExperimental
```js
IndexReucEntry.add(index, path, ancestor_mode, ancestor_id, our_mode, our_id, their_mode, their_id).then(function(result) {
// Use result
});
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
| path | String | |
| ancestor_mode | Number | |
| ancestor_id | [Oid](/api/oid/) | |
| our_mode | Number | |
| our_id | [Oid](/api/oid/) | |
| their_mode | Number | |
| their_id | [Oid](/api/oid/) | |
| Returns | |
| --- | --- |
| Number | |
## IndexReucEntry.clear AsyncExperimental
```js
IndexReucEntry.clear(index).then(function() {
// method complete});
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
## IndexReucEntry.entryCount SyncExperimental
```js
var result = IndexReucEntry.entryCount(index);
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
| Returns | |
| --- | --- |
| Number | |
## IndexReucEntry.find AsyncExperimental
```js
IndexReucEntry.find(index, path).then(function(result) {
// Use result
});
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
| path | String | |
| Returns | |
| --- | --- |
| Number | |
## IndexReucEntry.getByIndex SyncExperimental
```js
var indexReucEntry = IndexReucEntry.getByIndex(index, n);
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
| n | Number | |
| Returns | |
| --- | --- |
| [IndexReucEntry](/api/index_reuc_entry/) | |
## IndexReucEntry.getByPath SyncExperimental
```js
var indexReucEntry = IndexReucEntry.getByPath(index, path);
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
| path | String | |
| Returns | |
| --- | --- |
| [IndexReucEntry](/api/index_reuc_entry/) | |
## IndexReucEntry.remove AsyncExperimental
```js
IndexReucEntry.remove(index, n).then(function(result) {
// Use result
});
```
| Parameters | Type | |
| --- | --- | --- |
| index | [Index](/api/index/) | |
| n | Number | |
| Returns | |
| --- | --- |
| Number | |
## Instance Variables
| Variable | Type | Description |
| --- | --- | --- |
| mode | Number | |
| oid | Oid | |
| path | String | |